diff options
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);
|