- Joined
- Aug 29, 2013
- Messages
- 79
- Reaction score
- 0
- First Language
- English
- Primarily Uses
I have a boss that you have to fight with a temporary party member in your party. The gimmick to this fight is that the temporary party member has the only skill that can actually take a large chunk out of the boss's health.
The damage formula I'm using for said skill is this:
if b.id==94;9999;else;(150+a.mat*2-b.mdf*2);end
What it's supposed to do is check if the target is the boss (Which has an ID of 94 in the database) and if the target is indeed the boss, deal 9999 damage, and if not, use the skill's default damage formula. However, when I tested the skill against the boss, it did no damage at all.
So why isn't this formula working?
The damage formula I'm using for said skill is this:
if b.id==94;9999;else;(150+a.mat*2-b.mdf*2);end
What it's supposed to do is check if the target is the boss (Which has an ID of 94 in the database) and if the target is indeed the boss, deal 9999 damage, and if not, use the skill's default damage formula. However, when I tested the skill against the boss, it did no damage at all.
So why isn't this formula working?


