diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-05 16:30:47 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-05 16:30:47 +0000 |
commit | d99c0313edbb4bd24172f825b7d621ad620ec7d1 (patch) | |
tree | adac4c1ccf43f1a85c65f0e47dc3b4a8af9c8044 /src/map/skill.c | |
parent | fc694ecbe6734d01c0a1626beb96f514fb06aa5e (diff) | |
download | hercules-d99c0313edbb4bd24172f825b7d621ad620ec7d1.tar.gz hercules-d99c0313edbb4bd24172f825b7d621ad620ec7d1.tar.bz2 hercules-d99c0313edbb4bd24172f825b7d621ad620ec7d1.tar.xz hercules-d99c0313edbb4bd24172f825b7d621ad620ec7d1.zip |
- Being in Enjoyable Rest state will now also trigger the HP/SP Time skills (even if there's no other TK around).
- Renamed SC_TKDORI to SC_TKREST (makes more sense if you ask me)
- Added battle config settings view_range_rate and chase_range_rate to adjust the view-range and chase-range (range2/range3) of the mob_db without having to manually change them.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6490 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 7cb552ab9..a91e7cbfc 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7625,7 +7625,7 @@ int skill_check_condition(struct map_session_data *sd,int skill, int lv, int typ //Consume
sd->itemid = sd->itemindex = -1;
if(skill == WZ_EARTHSPIKE
- && sd->sc.data[SC_TKDORI].timer != -1 && rand()%100 > sd->sc.data[SC_TKDORI].val2) // [marquis007]
+ && sd->sc.data[SC_TKREST].timer != -1 && rand()%100 > sd->sc.data[SC_TKREST].val2) // [marquis007]
; //Do not consume item.
else
pc_delitem(sd,i,1,0);
|