Fixed some status related issues (#6702)
Fixed stone curse not ending Fixed SR_GENTLETOUCH_CURE not being able to cure poison, silence and blind Cleaned up SR_GENTLETOUCH_CURE formula Fixed casting SR_GENTLETOUCH_CURE on self during status change Added missing NoMove state to PF_SPIDERWEB Fixed GN_HELLS_PLANT being removed on mapchange Fixes #6701 Thanks to @mazvi
This commit is contained in:
@@ -11179,7 +11179,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
|
||||
status_heal(bl, heal, 0, 0);
|
||||
}
|
||||
|
||||
if( (tsc && tsc->opt1) && (rnd()%100 < ((skill_lv * 5) + (status_get_dex(src) + status_get_lv(src)) / 4) - (1 + (rnd() % 10))) ) {
|
||||
if( tsc && tsc->count && rnd_chance( ( skill_lv * 5 + ( status_get_dex( src ) + status_get_lv( src ) ) / 4 ) - rnd_value( 1, 10 ), 100 ) ){
|
||||
status_change_end(bl, SC_STONE, INVALID_TIMER);
|
||||
status_change_end(bl, SC_FREEZE, INVALID_TIMER);
|
||||
status_change_end(bl, SC_STUN, INVALID_TIMER);
|
||||
|
||||
Reference in New Issue
Block a user