Welcome to the Builder Academy

Question rand_number forage skill

More
22 Mar 2016 14:02 #5657 by Kyle
Replied by Kyle on topic rand_number forage skill
Ahh, my apologies. Yes you are correct.

JTP format your code! LOL :)

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

More
22 Mar 2016 14:04 #5658 by JTP
Replied by JTP on topic rand_number forage skill
Done :)

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

More
22 Mar 2016 14:12 #5659 by JTP
Replied by JTP on topic rand_number forage skill
Do you by chance have a working dispel magic, that i can see ?

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

More
22 Mar 2016 14:19 #5660 by Kyle
Replied by Kyle on topic rand_number forage skill
Not currently, what is the spell supposed to do? Remove all spell affects from the target?

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

More
22 Mar 2016 14:20 #5661 by JTP
Replied by JTP on topic rand_number forage skill
Yes, remove all spells from target

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

More
19 Apr 2016 18:42 - 19 Apr 2016 18:45 #5779 by rudeboyrave
for a dispell like that just look for the scmd_unaffect code and go from there

Code:
case SCMD_UNAFFECT: if (vict->affected || AFF_FLAGS(vict)) { while (vict->affected) affect_remove(vict, vict->affected); for(taeller=0; taeller < AF_ARRAY_MAX; taeller++) AFF_FLAGS(vict)[taeller] = 0; send_to_char(vict, "There is a brief flash of light!\r\nYou feel slightly different.\r\n"); send_to_char(ch, "All spells removed.\r\n"); } else { send_to_char(ch, "Your victim does not have any affections!\r\n"); return; }

CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.
Last edit: 19 Apr 2016 18:45 by rudeboyrave.

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

Time to create page: 0.352 seconds