Thacker Posted September 6, 2016 Share Posted September 6, 2016 (edited) Hello I'm trying to make a simple weapon ability that deals only elemental damage on hit. I've Frankenstein-ed a script together based mostly on Might Blow and the impact damage from Fireball. Below is the relevant portion: float fDamage = Combat_Damage_GetAttackDamage(stEvent.oCaster, stEvent.oTarget, oWeapon, nResult, 0.0f); eEffect = EffectDamage(fDamage, DAMAGE_TYPE_FIRE); ApplyEffectOnObject(EFFECT_DURATION_TYPE_INSTANT, eEffect, stEvent.oTarget, 0.0f, stEvent.oCaster, stEvent.nAbility);When used, this applies physical damage AND additional fire damage. I'd like it to apply ONLY fire damage. For example, if a normal hit deals 10 damage, I want the damage applied as 10 fire damage without any fire damage. Is this possible? Any ideas? Thanks! Edited September 24, 2016 by Thacker Link to comment Share on other sites More sharing options...
Thacker Posted September 24, 2016 Author Share Posted September 24, 2016 For what it's worth I fixed my own problem. Since I based it on Might Blow, I forgot to delete a portion of the script immediately below the above quoted that was applying the combat result damage as pure physical damage. Link to comment Share on other sites More sharing options...
Recommended Posts