Added undetectable column, to allow content developers to make a trap undetectable and not able to be disarmed.
Pets will no longer try to aggro traps its owner triggers.
Traps will now use the radius column to determine disarm range, instead of using a hardcoded value which may not be appropriate in all cases.
Decreased the scan range for traps to disarm.
Fixed some typos, and removed some unused code.
Returning non-0 (no return in a lua/perl function = return 0 so this is best)
will prevent the client from looting the item
I still need to figure out how to make it so we don't have to kick
the player from the corpse, but maybe that's just a difference on live
would response to client with a type of 2. The intent (based on
comments was to get the client to display a "stand still" message
on the receiving client.
That reply message was not generating that message, but if the client
you were binding was also binding his own wounds, it would cause your
target to stand up, interrupting his bind.
I replaced this client reply with a simple, directed client message. It all
seems to work fine now.
Updated mechanics to be consistent with live regarding how invisible breaks when the client is the target of a spell.
Invisible will drop whenever a client is hit with a detrimental spell, regardless of if resisted, if it does damage or AOE.
Hide skill now also follows the same rules as above.
Implemented support for Rogue AA - Nerves of Steel which gives a chance for hide NOT to break
when client is hit with an AOE spell.
* removed the double level gain messages to display once either the level gained or the level.
* implement the message "You will now lose experience when you die" and "Your items will no longer stay with you..." when reach a certain level already sets in the rule table.
via accounting for differences in attacker/target size. This
fixes a very common issue of player hitting range attack and
nothing happening due to server improperly calculating
max range.
This is handled by client under normal conditions, however if you
force cast this effect in situations like 'procs' you can cause
zone crashes, therefore a failsafe check is added in 'SpellOnTarget'