Welcome to the Builder Academy

Question AFF question

More
11 Apr 2016 08:01 #5748 by JTP
AFF question was created by JTP
In stat
AFF both sanc and fireshield is displayets.
But then:
In the lines SPL: sanctuary sets SANCT
But my fireshield has empty space

What did i miss ?


Master is: <none>, Followers are: <none>
AFF: DET-INVIS SENSE-LIFE SANCT INFRA FIRESHIELD
SPL: ( 46hr) fireshield
SPL: ( 46hr) sanctuary sets SANCT,

Please Log in or Create an account to join the conversation.

More
12 Apr 2016 22:14 #5751 by thomas
Replied by thomas on topic AFF question
in magic.c this is the code for Sanctuary:
Code:
case SPELL_SANCTUARY: af[0].duration = 4; SET_BIT_AR(af[0].bitvector, AFF_SANCTUARY); accum_duration = TRUE; to_vict = "A white aura momentarily surrounds you."; to_room = "$n is surrounded by a white aura."; break;
The reason it says " sets SANCT" is because of the line SET_BIT_AR(af[0].bitvector, AFF_SANCTUARY); - add a similar one for fireshield, and it should work.

Please Log in or Create an account to join the conversation.

More
12 Apr 2016 23:03 #5752 by JTP
Replied by JTP on topic AFF question
Already had that on in the code, so must be something else.

Please Log in or Create an account to join the conversation.

More
13 Apr 2016 18:50 #5757 by thomas
Replied by thomas on topic AFF question
I think you might want to show us your code for SPELL_FIRESHIELD if we are to help you...

Please Log in or Create an account to join the conversation.

Time to create page: 0.179 seconds