Possible to mod in Vampiric Damage?

I was wondering if it would be possible to mod in a new damage type, like fire or ice, that when dealt healed the user as well.

4,034 views 5 replies
Reply #1 Top

I can't think of a way.

Reply #2 Top


doesn't despair act this way?

Reply #3 Top

despair xml:

 

Code: xml
  1. <GameModifier>
  2. <ModType>Unit</ModType>
  3. <Attribute>Lifesteal</Attribute>
  4. <IsForFormattedDescription>1</IsForFormattedDescription>
  5. <Calculate InternalName="Calc" ValueOwner="CastingUnit">
  6. <Expression><![CDATA[[Unit_GetLevel] * 3]]></Expression>
  7. </Calculate>
  8. <Calculate InternalName="Value">
  9. <Expression><![CDATA[[Calc]]]></Expression>
  10. </Calculate>
  11. <Calculate InternalName="ValueForFormattedDescription">
  12. <Expression><![CDATA[[Calc]]]></Expression>
  13. </Calculate>
  14. </GameModifier>
  15. <GameModifier>
  16. <ModType>Unit</ModType>
  17. <Attribute>Lifesteal</Attribute>
  18. <IsForSpellResist>1</IsForSpellResist>
  19. <Calculate InternalName="Calc" ValueOwner="CastingUnit">
  20. <Expression><![CDATA[[Unit_GetLevel] * 2]]></Expression>
  21. </Calculate>
  22. <Calculate InternalName="Value">
  23. <Expression><![CDATA[[Calc]]]></Expression>
  24. </Calculate>
  25. </GameModifier>

Reply #4 Top


Ceresa's drain life spell fits what the OP wants to a "T". Some other Resoln units also heal when dealing damage to enemies.

(That is a bad ass spell BTW :D)

Reply #5 Top

snip - polistes answer is better than mine