Aller au contenu

Photo

Creating new passive abilities


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
HenryBoy01

HenryBoy01
  • Members
  • 5 messages
Anyone know how to edit passives?  Some skills like Feast for the Fallen have no Passive ID and don't call an ability script.  I can find no mention of these and some other passive abilities anywhere.

What I'd like to do is create a new passive ability that adds an effect that will cause a mob to explode (i.e. walking bomb) if the attack kills the creature.  I'm using it as a talent to augment an existing ability, that's the reason I want to do it passively.  All about balance, you know :)

#2
DeepImpact

DeepImpact
  • Members
  • 520 messages
You should add a new if-query in the script that checks the kill (dunno which one).



const int ABILITY_TALENT_XYZ = 666666;



...



if (HasAbility(oCaster, ABILITY_TALENT_XYZ))

{

// do something

}