summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-04-24 09:37:08 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-04-24 09:37:08 +0000
commit75e90443fb9402967c1675131e15eb8d147ab2e8 (patch)
tree307b9810f4ab62ea8d33da003609a12e162992cf /src/map/skill.c
parent092c12d31a3787620fceedc2a6d032eacde14788 (diff)
downloadhercules-75e90443fb9402967c1675131e15eb8d147ab2e8.tar.gz
hercules-75e90443fb9402967c1675131e15eb8d147ab2e8.tar.bz2
hercules-75e90443fb9402967c1675131e15eb8d147ab2e8.tar.xz
hercules-75e90443fb9402967c1675131e15eb8d147ab2e8.zip
Renamed Happy Break's status name from SC_TKREST to SC_EARTHSCROLL, since that's its official purpose and it doesn't do anything else.
Also removed the associated SI_TKREST since this status doesn't actually have an icon. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13695 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index db59a3bc9..c9d449bdf 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7954,7 +7954,7 @@ int skill_check_condition(struct map_session_data* sd, short skill, short lv, in
//Consume
sd->itemid = sd->itemindex = -1;
if(skill == WZ_EARTHSPIKE && sc &&
- sc->data[SC_TKREST] && rand()%100 > sc->data[SC_TKREST]->val2) // [marquis007]
+ sc->data[SC_EARTHSCROLL] && rand()%100 > sc->data[SC_EARTHSCROLL]->val2) // [marquis007]
; //Do not consume item.
else
pc_delitem(sd,i,1,0);