gustabrayan225 Posted August 19, 2024 Group: Members Topic Count: 14 Topics Per Day: 0.04 Content Count: 32 Reputation: 0 Joined: 05/01/24 Last Seen: March 22 Share Posted August 19, 2024 Can anyone help me leave the GTB card, immune to Tarot COMA... thanks Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted August 20, 2024 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 898 Reputation: 248 Joined: 01/30/13 Last Seen: Friday at 07:28 PM Share Posted August 20, 2024 You could try to make Tarot Card of Fate a "magic" skill instead of "misc", but I'm not user what else that would affect. Maybe a cleaner solution would be to adjust the requirements for GTB to work in status.cpp: // Skills (magic type) that are blocked by Golden Thief Bug card or Wand of Hermod if (status_isimmune(bl)) { std::shared_ptr<s_skill_db> skill = skill_db.find(battle_getcurrentskill(src)); if (skill == nullptr) // Check for ground-type skills using the status when a player moves through units skill = skill_db.find(status_db.getSkill(type)); if (skill != nullptr && skill->skill_type == BF_MAGIC && // Basic magic skill !skill->inf2[INF2_IGNOREGTB] && // Specific skill to bypass ((skill->inf == INF_ATTACK_SKILL || skill->inf == INF_GROUND_SKILL || skill->inf == INF_SUPPORT_SKILL) || // Target skills should get blocked even when cast on self (skill->inf == INF_SELF_SKILL && src != bl))) // Self skills should get blocked on all targets except self return 0; } See, these are all the conditions for GTB to block a status. You could add the logic here. For example by checking for the specific skill id of CG_TAROTCARD and then just return 0. Though that would make GTB immune to all status changes from Tarot, so I guess you want to additional check for "type == SC_COMA". Quote Link to comment Share on other sites More sharing options...
Question
gustabrayan225
Can anyone help me leave the GTB card, immune to Tarot COMA... thanks
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.