Dissidia Posted May 4, 2018 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted May 4, 2018 Hello, anyone knows how to change the burn damage to a plant type monster. I want it to change to 1 damage. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
0 joecalis Posted May 20, 2018 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 64 Reputation: 41 Joined: 03/26/12 Last Seen: March 29 Share Posted May 20, 2018 In status.cpp change this: case SC_BURNING: if (sce->val4 >= 0) { int64 damage = 1000 + (3 * status->max_hp) / 100; // Deals fixed (1000 + 3%*MaxHP) map_freeblock_lock(); dounlock = true; status_fix_damage(bl, bl, damage, clif_damage(bl, bl, tick, 0, 1, damage, 1, DMG_NORMAL, 0, false)); } break; to this: case SC_BURNING: if (sce->val4 >= 0) { int64 damage = 0; if (is_infinite_defense(bl, BF_MISC)) // Only does 1 damage to infinte defense(ex. Mushroom, Plant) type. damage = 1; else damage = 1000 + (3 * status->max_hp) / 100; // Deals fixed (1000 + 3%*MaxHP) map_freeblock_lock(); dounlock = true; status_fix_damage(bl, bl, damage, clif_damage(bl, bl, tick, 0, 1, damage, 1, DMG_NORMAL, 0, false)); } break; Quote Link to comment Share on other sites More sharing options...
Question
Dissidia
Hello, anyone knows how to change the burn damage to a plant type monster. I want it to change to 1 damage. Thanks in advance.
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.