[Profession changer BUG]

07/30/2010 02:23 m2r007#1
i have abig problem any player change his profession from warrior to mage nor paladin his m-atk increases around 1000 points each change how can i stop this .
i searched in my action id's around the TQ baby's actions i didnt find any thing unusual i don't know how to fix it and search doesn't have it
07/30/2010 13:35 chathouse#2
There is a bug in the codes .. I think this is so made

Code:
Paladin: Original:
3500543	3500546	0	303	1000	Congratulations! %user_name has changed his profession to Paladin!
3500546	0	0	1001	0	soul += 1000

Edit:
3500543	3500547	0	303	1000	Congratulations! %user_name has changed his profession to Paladin!
3500547	0	0	1001	0	soul_value += 1000

Code:
Mage Original
3500541	3500546	0	303	1000	Congratulations! %user_name has changed his profession to Mage!
3500546	0	0	1001	0	soul += 1000

Edit: 
3500541	3500546	0	303	1000	Congratulations! %user_name has changed his profession to Mage!
3500546	0	0	1001	0	soul == 1000
Because += 1000 for Mage adds constantly adds 1000 points and == 1000

either nothing changes or if you're already change your mage from warrior back to the mage, it shows again only 1000.

if I now make the mistake of not changing the id to 0 or use the next id for mage and change it to soul == 1000 and used for paladin a new id with ending: soul_value id += 1000.

Please correction if someone knows better than me, .. I am as yet not so sure.
07/31/2010 01:40 m2r007#3
Thanks alot Problem SOLVED