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 | |
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
-rw-r--r-- | db/skill_require_db.txt | 2 | ||||
-rw-r--r-- | src/map/skill.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/db/skill_require_db.txt b/db/skill_require_db.txt index c4e3fd94c..fee53e3e7 100644 --- a/db/skill_require_db.txt +++ b/db/skill_require_db.txt @@ -410,7 +410,7 @@ 523,0,0,10,0,0,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //NJ_SYURIKEN
524,0,0,10,0,0,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //NJ_KUNAI
525,0,0,10,0,0,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //NJ_HUUMA
-526,0,0,10,0,0,1000:2000:3000:4000:5000:6000:7000:8000:9000:10000,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //NJ_ZENYNAGE
+526,0,0,10,0,0,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //NJ_ZENYNAGE
527,0,0,10,0,0,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //NJ_TATAMIGAESHI
528,0,0,10,0,0,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //NJ_KASUMIKIRI
529,0,0,10,0,0,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //NJ_SHADOWJUMP
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);
|