From 5021e16d2bd968ad3ea0649cdee6eb7884efe65f Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 13 Sep 2007 22:45:57 +0000 Subject: - 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 --- src/map/unit.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/map/unit.c') 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] -- cgit v1.2.3-70-g09d2