How to make new jail spells..

Post Reply
SouthernCross

How to make new jail spells..

Post by SouthernCross »

This one is tricky, and very time consuming.

First to explain, you will need to map out the current Jail Spell System.
It goes as follow:

Spell 583 --> to textblock 9624 ---> Spell 584 (standard direct room teleport to 1/0

---> spell 586 ---> connects to text block 9113 ---->connects to spell 929, which teleports you into the jail.

To put this mess together Spell 583 is the spell, Text block 9624 is:

testskill current_hp 0 9624:price 0

note ### it checks your current hps, than the 0 is when you get thrown in jail, which triggers textblock 9624:
evilaligned 210:cast 586:cast 584
evilaligned 120:goodaligned 209:cast 641:cast 584
evilaligned 80:goodaligned 119:cast 642:cast 584
evilaligned 40:goodaligned 79:cast 643:cast 584
goodaligned 39:cast 644:cast 584

It checks your align etc, don't worry about the other spells it has listed all these spells do the same thing. Only the align changes for where you go, so each other spell listed corresponds to the alignment.

584 is a do noting spell based on align, it tells the system if the mobs kill you based on align.

spell 585 connect to 584 than to textblock 9113 (only on certain jail spells)
roomitem 1363:cast 929

roomitem is to let you know you are going to jail, there will be no item on you, it is coded as part of the jail flag.
Textblock 9113:
roomitem 1363:cast 929

929 is the actual spell that sends you to jail. by ability 140----> room 1076 ability 141--->map 1

Now if you want to make new jail spells after getting though this mess, you will have to make new text blocks and messages for each thing above, and connect them to one another, after that, wallah you will have guards that will send people to a jail or prison.
Post Reply

Return to “Editing Questions and Guides”