Elgenady
Veteran OT User
- Joined
- Aug 5, 2011
- Messages
- 1,683
- Solutions
- 36
- Reaction score
- 388
what i did wrong here no error in compile but in game nothing happen
tfs 0.4
i need this condition set -100 in health or mana (depends if have man shield or no ) for 3 sec
Code:
if(ConditionDamage* condition = dynamic_cast<ConditionDamage*>(Condition::createCondition(CONDITIONID_COMBAT, CONDITION_PHYSICAL, 1000, 0, 3, -100)))
{
target->addCondition(condition);
i need this condition set -100 in health or mana (depends if have man shield or no ) for 3 sec