diff options
author | MasterOfMuppets <MasterOfMuppets@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-16 23:05:49 +0000 |
---|---|---|
committer | MasterOfMuppets <MasterOfMuppets@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-16 23:05:49 +0000 |
commit | 9fbb96bcba9890e321a89153d098bc983ad503c4 (patch) | |
tree | c40ef8381d5f86c74900c236546bdb95312b5e1b /src/map/skill.c | |
parent | 1edfd8d7a943b235cbeed709404545699850ed38 (diff) | |
download | hercules-9fbb96bcba9890e321a89153d098bc983ad503c4.tar.gz hercules-9fbb96bcba9890e321a89153d098bc983ad503c4.tar.bz2 hercules-9fbb96bcba9890e321a89153d098bc983ad503c4.tar.xz hercules-9fbb96bcba9890e321a89153d098bc983ad503c4.zip |
A small fix.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5633 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index e094ac595..222111f6a 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3117,7 +3117,10 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl,int s }
break;
case NJ_ZENYNAGE:
- skill_attack(BF_MISC,src,src,bl,skillid,skilllv,tick,flag);
+ if(sd->status.zeny < skilllv*1000)
+ clif_skill_fail(sd,skillid,5,0);
+ else
+ skill_attack(BF_MISC,src,src,bl,skillid,skilllv,tick,flag);
break;
case NJ_KASUMIKIRI:
skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
|