* Fixed Cracker (GS_CRACKER) not work the stun effect.

* Correct the use of Snap (MO_BODYRELOCATION) in battlegrounds.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15175 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
protimus 2011-12-20 04:55:11 +00:00
parent 0904088718
commit e8a8b3a80c
2 changed files with 6 additions and 12 deletions

View File

@ -47,7 +47,6 @@
87,8 //WZ_ICEWALL
150,8 //TF_BACKSLIDING
219,8 //RG_INTIMIDATE
264,8 //MO_BODYRELOCATION
336,8 //WE_CALLPARTNER
361,8 //HP_ASSUMPTIO
362,8 //HP_BASILICA

View File

@ -6350,15 +6350,10 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case GS_CRACKER:
if (!dstsd) // according to latest patch, should not work on players [Reddozen]
{
i =65 -5*distance_bl(src,bl); //Base rate
if (i < 30) i = 30;
clif_skill_nodamage(src,bl,skillid,skilllv,1);
sc_start(bl,SC_STUN, i,skilllv,skill_get_time2(skillid,skilllv));
}
else if (sd)
clif_skill_fail(sd,skillid,0,0);
break;
case AM_CALLHOMUN: //[orn]