As the title says i was wondering if its possible to make it so that a certain group of Vocations cannot attack another group of vocations... I already know theres a way to make it so all sorcerers dont attack all sorcerers and knights atk knights etc...
But is there a way for example that Sorcerers and Paladins cant Attack Druids and Knights?
i was thinking a lua code for example
That code was a very badd code it was just an example of the concept... So you can get an idea =)
If you want you can do it however you please i just need a lua script that can make it so only some vocations can attack some vocations please... ill rep you!!! thanks alot!
But is there a way for example that Sorcerers and Paladins cant Attack Druids and Knights?
i was thinking a lua code for example
Code:
local sorcererdruid =
[1]
[2]
local knightpaladin =
[3]
[4]
function onLogin
if getPlayerVocation(cid) == sorcererdruid
then knightpaladin_notAttackable
That code was a very badd code it was just an example of the concept... So you can get an idea =)
If you want you can do it however you please i just need a lua script that can make it so only some vocations can attack some vocations please... ill rep you!!! thanks alot!