Page 1 of 1

NoCombat

Posted: Tue Nov 07, 2006 3:14 pm
by qrak
NoCombat 1 should check for applyrawdamage because if player casts mass spell eg. earthquake all players around take damage from that spell.

Posted: Tue Nov 07, 2006 5:17 pm
by SMJ
Why not just set a CProp or write a script to control the application of magical damage?

That way, when your mage casts a spell, if they're a player, and the target is a player, you just return 1 before applying damage.

Unless I misunderstood the suggestion...

Re: NoCombat

Posted: Tue Nov 07, 2006 5:26 pm
by Austin
qrak wrote:NoCombat 1 should check for applyrawdamage because if player casts mass spell eg. earthquake all players around take damage from that spell.
All it was designed to do, was make it so you can't engage someone in combat. These regions however, have enter and leave scripts available and you could use those to mark the victim (custom property) as unable to be damaged by those functions and check it in the scripts that use the function.

Posted: Sat Nov 11, 2006 4:32 pm
by qrak
yeah - you're right and i've found nice thing - OnAttack repsys.cfg hook in pol97