Corrected Moon Slasher effect
* Now able to stop Boss monsters. * Has a random duration of 1~3 seconds. Thanks to @Playtester!
This commit is contained in:
@@ -1390,7 +1390,7 @@
|
||||
//-- LG_BANDING
|
||||
2319,0,0,0,-1,2000:4000:6000:8000:10000,0
|
||||
//-- LG_MOONSLASHER
|
||||
2320,1000,1000,0,0,0,6000:5000:4000:3000:2000
|
||||
2320,1000,1000,0,1000,0,6000:5000:4000:3000:2000
|
||||
//-- LG_RAYOFGENESIS
|
||||
2321,2000:2500:3000:3500:4000,2000,0,10000,0,5000
|
||||
//-- LG_PIETY
|
||||
|
||||
@@ -1405,7 +1405,7 @@
|
||||
//-- LG_BANDING
|
||||
2319,0,0,0,-1,2000:4000:6000:8000:10000,0,-1
|
||||
//-- LG_MOONSLASHER
|
||||
2320,1000,1000,0,0,0,6000:5000:4000:3000:2000,-1
|
||||
2320,1000,1000,0,1000,0,6000:5000:4000:3000:2000,-1
|
||||
//-- LG_RAYOFGENESIS
|
||||
2321,2000:2500:3000:3500:4000,2000,0,10000,0,5000,500
|
||||
//-- LG_PIETY
|
||||
|
||||
@@ -1528,8 +1528,8 @@ int skill_additional_effect(struct block_list* src, struct block_list *bl, uint1
|
||||
rate = 32 + 8 * skill_lv;
|
||||
if( rnd()%100 < rate && dstsd ) // Uses skill_addtimerskill to avoid damage and setsit packet overlaping. Officially clif_setsit is received about 500 ms after damage packet.
|
||||
skill_addtimerskill(src,tick+500,bl->id,0,0,skill_id,skill_lv,BF_WEAPON,0);
|
||||
else if( dstmd && !is_boss(bl) )
|
||||
sc_start(src,bl,SC_STOP,100,skill_lv,skill_get_time(skill_id,skill_lv));
|
||||
else if( dstmd )
|
||||
sc_start(src,bl,SC_STOP,100,skill_lv,skill_get_time(skill_id,skill_lv) + 1000 * (rnd()%3));
|
||||
break;
|
||||
case LG_RAYOFGENESIS: // 50% chance to cause Blind on Undead and Demon monsters.
|
||||
if ( battle_check_undead(status_get_race(bl), status_get_element(bl)) || status_get_race(bl) == RC_DEMON )
|
||||
|
||||
Reference in New Issue
Block a user