Jaed Le Raep
★Gaeming★
- Joined
- Sep 3, 2007
- Messages
- 1,298
- Reaction score
- 446
What's a function/condition that makes a character or monster unable to attack for a set amount of time?
exhaustion = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaustion, CONDITION_PARAM_TICKS, 3000)
doAddCondition(cid, exhaustion)
LUA:exhaustion = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaustion, CONDITION_PARAM_TICKS, 3000) doAddCondition(cid, exhaustion)
But the best way is to go c++.
What's a function/condition that makes a character or monster unable to attack for a set amount of time?
That's a lot of work, Why dont you just create the illusion of that.
Just by increasing there attack speed to example 30 seconds. (So bassicly hit every 30 seconds). That creates the illusion that the aren't hitting.
Besides that you can remove there melee dammig. because even if you set it to 30 seconds the first attack will pof then.