[Big-Problem]Twofolblades 5165 Version

07/21/2010 05:06 Sp!!ke#1
Hello all , I got a problem with TwoFolBlades in my server , I try today to fix it but nothing change. Problem is next you can attack with TfB from a big distance and that is sux.if anyone can help me to fix that..idk I will pay it or I don't know....! plz reply here or [Only registered and activated users can see links. Click Here To Register...] my email to contact me.
07/21/2010 06:35 pro4never#2
Quote:
Originally Posted by Tweety.4Girls View Post
Hello all , I got a problem with TwoFolBlades in my server , I try today to fix it but nothing change. Problem is next you can attack with TfB from a big distance and that is sux.if anyone can help me to fix that..idk I will pay it or I don't know....! plz reply here or [Only registered and activated users can see links. Click Here To Register...] my email to contact me.
Check before attack that the range is under a certain amount.... i'm shocked that lotf does't already have something like that but suppose i shoudn't be.

Do a quick search for references in your source tpo the skill and its id. You shoould be able to do something like if(!mymath.pointdistance(tox, toy, fromx, fromy) < 3) break?;


Make sure that you use a custom distance for skills obviously.
07/21/2010 07:39 Sp!!ke#3
I will look in source now
07/21/2010 07:44 Sp!!ke#4
I don't find nothing about skill 6000 in source but look what I find. [Only registered and activated users can see links. Click Here To Register...]


and magyctype from OLDCODB

Code:
6000 1 TwofoldBlades 1 0 0 0 0 0 30110 0 100 0 1 1 0 0 300000 40 2 601 0 0 0 0 0 0 30 1 0 0 0 1 904 Upgrade~after~lvl~40 Double~hits~in~1~sway.~Effective~only~when~equipping~Ninja~Swords~in~both~hands.~Range:~3.~Effect:~110%~of~normal~damage.~Stamina~Cost:~30. NULL NULL swordcaromstart02 sound\Ninjamagic-05A.wav 0 swordcaromaccept NULL NULL NULL 0 0 0
6000 1 TwofoldBlades 1 0 0 0 1 0 30115 0 100 0 1 1 0 0 900000 70 2 601 0 0 0 0 0 0 30 1 0 0 0 1 904 Upgrade~after~lvl~70 Double~hits~in~1~sway.~Effective~only~when~equipping~Ninja~Swords~in~both~hands.~Range:~3.~Effect:~115%~of~normal~damage.~Stamina~Cost:~30. NULL NULL swordcaromstart02 sound\Ninjamagic-05A.wav 0 swordcaromaccept NULL NULL NULL 0 0 0
6000 1 TwofoldBlades 1 0 0 0 2 0 30120 0 100 0 1 1 0 0 2223000 100 2 601 0 0 0 0 0 0 30 1 0 0 0 1 904 Upgrade~after~lvl~100 Double~hits~in~1~sway.~Effective~only~when~equipping~Ninja~Swords~in~both~hands.~Range:~3.~Effect:~120%~of~normal~damage.~Stamina~Cost:~30. NULL NULL swordcaromstart03 sound\Ninjamagic-05A.wav 0 swordcaromaccept NULL NULL NULL 0 0 0
6000 1 TwofoldBlades 1 0 0 0 3 0 30125 0 100 0 1 1 0 0 4320000 120 2 601 0 0 0 0 0 0 30 1 0 0 0 1 904 Upgrade~after~lvl~120 Double~hits~in~1~sway.~Effective~only~when~equipping~Ninja~Swords~in~both~hands.~Range:~3.~Effect:~125%~of~normal~damage.~Stamina~Cost:~30. NULL NULL swordcaromstart04 sound\Ninjamagic-05A.wav 0 swordcaromaccept NULL NULL NULL 0 0 0
6000 1 TwofoldBlades 1 0 0 0 4 0 30130 0 100 0 1 1 0 0 0 0 2 601 0 0 0 0 0 0 30 1 0 0 0 1 904 Fixed Double~hits~in~1~sway.~Effective~only~when~equipping~Ninja~Swords~in~both~hands.~Range:~3.~Effect:~130%~of~normal~damage.~Stamina~Cost:~30. NULL NULL swordcaromstart05 sound\Ninjamagic-05A.wav 0 swordcaromaccept NULL NULL NULL 0 0 0