Hello.
I'd like to change my sources for druids not to be attacked by elves and dwarves.
What I mean:
Druids cannot attack elves and dwarves,
Dwarves and elves do not attack druids.
Does someone have a little bit knowledge to explain to me how to do it.
I mean that I tried to do it months ago but I didn't understand the code (I don't remember exactly, combat.cpp? monster.cpp?)
Or just explain to me how does the combat source work.
@EDIT Oh I would forget. I'm using TFS 1.0, so creaturescripts with onCombat function could be kinda useless.
@EDIT2: solved! I had to change TFS 1.0 to TFS 1.0 edited by EvilHero or something like this (don't remember developers ) there in creaturescripts there is option onCombat where I put dwarves' and elves' names and made them return false if voc is druid. I have another problem. Friendly monsters don't attack druid but they follow him. It's a trouble, because they can block player and player cannot get rid of them but I think I'll solve this. Thanks.
I'd like to change my sources for druids not to be attacked by elves and dwarves.
What I mean:
Druids cannot attack elves and dwarves,
Dwarves and elves do not attack druids.
Does someone have a little bit knowledge to explain to me how to do it.
I mean that I tried to do it months ago but I didn't understand the code (I don't remember exactly, combat.cpp? monster.cpp?)
Or just explain to me how does the combat source work.
@EDIT Oh I would forget. I'm using TFS 1.0, so creaturescripts with onCombat function could be kinda useless.
@EDIT2: solved! I had to change TFS 1.0 to TFS 1.0 edited by EvilHero or something like this (don't remember developers ) there in creaturescripts there is option onCombat where I put dwarves' and elves' names and made them return false if voc is druid. I have another problem. Friendly monsters don't attack druid but they follow him. It's a trouble, because they can block player and player cannot get rid of them but I think I'll solve this. Thanks.
Last edited: