GSGlobe Posted December 9, 2017 Share Posted December 9, 2017 Hi, I've done a timed "bomb" spell. 10 seconds duration with a 7damage per tick and OnEffectFinish Target.PlaceAtMe(Explosion) ; Used fireball explosion, duplicated it and set damage to 50 Ingame the spell works and after 10 seconds, it explodes but doesnt deal any damage. I also tried a second time to make an enchantment and use that to deal damage but that didnt work either. Am I missing something obvious or how does one deal damage through a explosion? Thanks! Link to comment Share on other sites More sharing options...
TheWormpie Posted December 9, 2017 Share Posted December 9, 2017 Alternatively, the safest method is to make a magic effect that applies damage and use the explosion as visuals only. Link to comment Share on other sites More sharing options...
GSGlobe Posted December 9, 2017 Author Share Posted December 9, 2017 So, make a "PlaceHolder" Spell with a duration and small damage (dot) with a script that cast a second spell, damage, area and on the magiceffect set the explosion just visuals? Am I getting you right here? Link to comment Share on other sites More sharing options...
TheWormpie Posted December 10, 2017 Share Posted December 10, 2017 I think you are :) You can just make a copy of the vanilla fireball spell and change the damage value. Then, as you say, make your bomb spell cast the fireball spell OnEffectFinish. Link to comment Share on other sites More sharing options...
GSGlobe Posted December 10, 2017 Author Share Posted December 10, 2017 A second question. Say I use this spell on a target that has 20Hp left and the target dies before the second spell (bomb) fires. By this time I would also have ran away abit and not facing the target, will the second spell still fire at the target and not from the players "Crossair"? Would Bomb.Cast(akCaster, akTarget) OrDoCombatSpellApply do the trick? Link to comment Share on other sites More sharing options...
TheWormpie Posted December 10, 2017 Share Posted December 10, 2017 It should rather be Bomb.Cast(akTarget, akTarget) to make sure that the fireball spell isn't cast from the player. Link to comment Share on other sites More sharing options...
GSGlobe Posted December 10, 2017 Author Share Posted December 10, 2017 I tried making the "bomb" spell a self spell using bomb.cast(akcaster, aktarget) effect ended up on me. Tried aim bomb.cast(akcaster, akTarget) worked But since projectile it shoot straight forward. Tried self bomb.cast(aktarget,akTarget) Didnt do any damage for the target But to those around him and they in turn started to attack eachother. I havent tried "aimed" bomb.cast(aktarget, aktarget) ; would that work? And how do I blame the caster? Thanks for helping out. I appreciate it Link to comment Share on other sites More sharing options...
Recommended Posts