diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-14 01:15:08 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-14 01:15:08 +0000 |
commit | 781818eb4fe809b3cc787b26b110d83280385b46 (patch) | |
tree | 819db2027cbce84c644dde81ca2c977bcf526166 /src/map | |
parent | f353dddef47df5f0f334122f4c212c1dc3d6b5f6 (diff) | |
download | hercules-781818eb4fe809b3cc787b26b110d83280385b46.tar.gz hercules-781818eb4fe809b3cc787b26b110d83280385b46.tar.bz2 hercules-781818eb4fe809b3cc787b26b110d83280385b46.tar.xz hercules-781818eb4fe809b3cc787b26b110d83280385b46.zip |
- Tuned up some more NJ_KAENSIN based on Tharis's information.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7665 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index b55c6bea8..be9343d7a 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6408,7 +6408,7 @@ struct skill_unit_group *skill_unitsetting (struct block_list *src, int skillid, if (sd) val1 = sd->status.child; break; case NJ_KAENSIN: - val1 = (skilllv+1)/2 + 4; + val2 = (skilllv+1)/2 + 4; skill_clear_group(src,1); break; @@ -6461,6 +6461,7 @@ struct skill_unit_group *skill_unitsetting (struct block_list *src, int skillid, uy = y + layout->dy[i]; switch (skillid) { case MG_FIREWALL: /* ファイヤーウォール */ + case NJ_KAENSIN: val2=group->val2; break; case WZ_ICEWALL: /* アイスウォール */ @@ -7031,8 +7032,8 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns case UNT_KAENSIN: skill_attack(BF_MAGIC,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0); - if (--sg->val1 <= 0) - skill_delunitgroup(NULL,sg); + if (--src->val2 <= 0) + skill_delunit(src); break; } |