summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-13 22:45:57 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-13 22:45:57 +0000
commit5021e16d2bd968ad3ea0649cdee6eb7884efe65f (patch)
tree50d462c88cf60861ba6726b4cf1fdf6341b15dc4 /src/map/unit.c
parent4ba94b1074c913fc61678d06cc0e1779b7046cee (diff)
downloadhercules-5021e16d2bd968ad3ea0649cdee6eb7884efe65f.tar.gz
hercules-5021e16d2bd968ad3ea0649cdee6eb7884efe65f.tar.bz2
hercules-5021e16d2bd968ad3ea0649cdee6eb7884efe65f.tar.xz
hercules-5021e16d2bd968ad3ea0649cdee6eb7884efe65f.zip
- Corrected SG Miracle to trigger per attack, not per walked tile. Trigger rate is now 0.02%
- Corrected the warmth skills not clearing up correctly the previous field when you place another one down. - Corrected vit not affecting the HP bonus that Super Novices, Ninjas and Gunslingers get. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11193 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index dc57dfd38..b92804459 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -186,12 +186,6 @@ static int unit_walktoxy_timer(int tid,unsigned int tick,int id,int data)
map_foreachinrange(skill_guildaura_sub, bl,2, BL_PC,
bl->id, sd->status.guild_id, strvit, agidex);
}
- if (
- (sd->class_&MAPID_UPPERMASK) == MAPID_STAR_GLADIATOR &&
- !(ud->walk_count%WALK_SKILL_INTERVAL) &&
- rand()%10000 < battle_config.sg_miracle_skill_ratio
- ) //SG_MIRACLE [Komurka]
- sc_start(&sd->bl,SC_MIRACLE,100,1,battle_config.sg_miracle_skill_duration);
} else if (md) {
if(battle_config.mob_warp&1 && map_getcell(bl->m,x,y,CELL_CHKNPC) &&
npc_touch_areanpc2(bl)) // Enable mobs to step on warps. [Skotlex]