Jump to content

priests, warriors, NOTICE THAT


Señorpujo

Recommended Posts

It could just be defined with a hackfix.

 

For example;

Spell_linked_spell (It's functionality towards how 1 spell can interact with another). - I will show an example below if unfamiliar.

 

Power Word: Fortitude, Spell ID: 21562

Dark Intent, Spell ID: 109773

 

Spell_linked_spell =

type == 2 (AURA)

Trigger mode

For this mode spell_trigger must be positive. Effect is executed when the aura spell_trigger is applied AND when it is removed from a target.

Effect

*spell_effect > 0 (ADD/REMOVE AURA)

ON APPLY: Adds aura spell_effect on the same target.

ON REMOVE: Removes aura spell_effecton the same target.

*spell_effect

ON APPLY: Makes the target immune to spell_effect.

ON REMOVE: Clears target immunity to spell_effect.

 

 

109773 | -21562 | 2 | Dark Intent replacement hackfix.

What this now does is whenever the spell aura 21562 (Power Word: Fortitude) is cast upon a player, if they have Dark Intent (109773) active, it becomes void (immune) so it cannot, and does not replace Dark Intent with a lesser buff such as Power Word: Fortitude.

It can also be done with functions of;

 

type h1. 0 (CAST)

 

Trigger mode

*spell_trigger > 0: "When spell_trigger is cast..."

*spell_trigger

 

Effect

*spell_effect > 0: spell_effect is also cast (with triggered flag) on the same targets, on the caster if spell_trigger has no target.

*spell_effect

 

type 1 (HIT)

 

Trigger mode

For this mode spell_trigger must be positive. Effect is executed when spell_trigger hits a target. I suppose that if the spell_trigger hits more than one target, the effect is executed for each target hit.

Effect

*spell_effect > 0: spell_effect is cast (with triggered flag) on the same target.

*spell_effect

 

 

This method can be duplicated for any kind of buff, aura, proc for the same outcome. It's not "blizzlike", but it's convenient. :)

I'm sure the developers have some of these kind of methods being used in the DB already, but this was just to help widen the picture a little for "others.

Edited by Ðumb
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...