Welcome to the Builder Academy

Question case in spell

More
23 Mar 2025 07:39 - 23 Mar 2025 20:39 #10616 by JTP
Replied by JTP on topic case in spell
Hmm I added your sugestions and the { } to the if

It's getting closer but still not quite working

When I cast the spell then I get the correct messages, but also this message:

Nothing seems to happen.


Then when I stat the mob it didn't have poison on.


And then other times i cast the spell, the mob does get poisoned. But very rarely

Ideas ?

Why only sometimes and other times I get the: Nothing seems to happen.



Then I tried to add a case 5 also that is spell TELEPORT as I thought that would be really easy to see if it works or not.

Then sometimes that works, but then not the poison. But I always get the correct messages oddly enough


Case 1-3 with damage works every time they roll in the switch…So it seems to not want to work correctly with spells all the time

Seems to work better on low level mobs then high level mobs…So maybe it is working as intended ??
stock game used to have 30 player levels, I upped that to 60. But the spells rarely triggers the higher level the mob has. Even me as IMPL. Is there something that I need to change ?
Last edit: 23 Mar 2025 20:39 by JTP.

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

More
23 Mar 2025 14:37 - 23 Mar 2025 16:22 #10617 by JTP
Replied by JTP on topic case in spell
Also

Where could I put in a :

act("You avoid the …..!\n\r",FALSE, ch, 0, victim, TO_VICT);

Because as of now, the victim doesn’t see if they avoid it


Maybe that could tell me if it actually works ?



And is there a way to add some SAVING_SPELL to each case ? So the victim can increase resist with gear 
Last edit: 23 Mar 2025 16:22 by JTP.

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

More
28 Mar 2025 21:40 #10624 by JTP
Replied by JTP on topic case in spell
One who can give me an example how SAVING_SPELL …..something could help the victim resist the spell ?



And maybe how to put in a message for the victim to let them know they resisted ?

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

More
30 Mar 2025 13:54 #10625 by thomas
Replied by thomas on topic case in spell
Sorry - terribly busy atm - anyone else able to help here?

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

Time to create page: 0.397 seconds