Jump to content

[added in 7175][patch] Lock and Load


pasdVn

Recommended Posts

http://www.wowhead.com/?spell=56342

This should trigger a spell under two different conditions with two different chances. This normally can't be done by one spell.

But as you can see all ranks of this spell has a 100% proc chance, while the tooltip does not say. So the sollution is to hardcode the chances and check for the right condition. The proc chances are given by the base values of Triggeraura (for the trap trigger) and the dummy aura (the dot trigger).

Additionally I had to add PROC_FLAG_ON_TRAP_ACTIVATION for "freezing trap" in prepareDataForTriggerSystem().

http://pastebin.com/m4a5bb7e6

What does not work is the proc on activating frost trap, because it has no direct unit target and ProcDamageAndSpell() is not called, but thats another thing...

pasdVn

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use