Lopaskurwa
Well-Known Member
- Joined
- Oct 6, 2017
- Messages
- 936
- Solutions
- 2
- Reaction score
- 57
Right now im using this logic
But this got a flaw if player fought a monster he gets a condition in fight so thats not what i want i want to apply this only if the player attacked skull player which he gets infight condition aswell, but if he fought monsters it should ignore it, so not sure if its even possible
LUA:
if player:getCondition(CONDITION_INFIGHT, CONDITIONID_DEFAULT) then
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You are in combat!")
return false
end