-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Golden Thief Bug card immunity (fixes #1400)
* White Imprison and Hell's Plant are now blocked by Golden Thief Bug card. * Removed an extra status end of White Imprison in Status Recovery.
- Loading branch information
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7193,7 +7193,6 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui | |
status_change_end(bl, SC_STUN, INVALID_TIMER); | ||
status_change_end(bl, SC_WHITEIMPRISON, INVALID_TIMER); | ||
status_change_end(bl, SC_NETHERWORLD, INVALID_TIMER); | ||
status_change_end(bl, SC_WHITEIMPRISON, INVALID_TIMER); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
aleos89
Author
Contributor
|
||
} | ||
status_change_end(bl, SC_STASIS, INVALID_TIMER); | ||
if(battle_check_undead(tstatus->race,tstatus->def_ele)) | ||
|
@@ -9256,7 +9255,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui | |
break; | ||
|
||
case WL_WHITEIMPRISON: | ||
if( (src == bl || battle_check_target(src, bl, BCT_ENEMY)>0) && status_get_class_(bl) != CLASS_BOSS ) // Should not work with Bosses. | ||
if( (src == bl || battle_check_target(src, bl, BCT_ENEMY)>0) && status_get_class_(bl) != CLASS_BOSS && !status_isimmune(bl) ) // Should not work with Bosses. | ||
{ | ||
int rate = ( sd? sd->status.job_level : 50 ) / 4; | ||
|
||
|
@@ -13932,7 +13931,7 @@ int skill_unit_onplace_timer(struct skill_unit *unit, struct block_list *bl, uns | |
break; | ||
|
||
case UNT_HELLS_PLANT: | ||
if (tsc && tsc->data[SC__MANHOLE]) | ||
if ((tsc && tsc->data[SC__MANHOLE]) || status_isimmune(bl)) | ||
This comment has been minimized.
Sorry, something went wrong.
lighta
Member
|
||
break; | ||
if( battle_check_target(&unit->bl,bl,BCT_ENEMY) > 0 ) | ||
skill_attack(skill_get_type(GN_HELLS_PLANT_ATK), ss, &unit->bl, bl, GN_HELLS_PLANT_ATK, sg->skill_lv, tick, SCSTART_NONE); | ||
|
@aleos89 Why this is removed?
http://irowiki.org/wiki/Status_Recovery