I am trying to make a spell script, something I have never messed with before. Simply put, a spell is cast upon you when you touch an object. I have that working, since that is a game object script. it also adds a 30 second duration, which also works, but does not show the countdown timer like many other spells. I think this needs to be done in a spell script, instead of newSpell->SetDuration(30000); in gameobject script.
I cannot figure out how to get the timer working, and then get another spell cast upon the player.
I have this set in my spell script, so if the spell is removed by any other means, the script shouldn't do anything:
if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_EXPIRE && GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_ENEMY_SPELL)
so to sum up my question:
spell cast upon player. timer counts down 30 seconds, which gives player enough time to remove the spell, then at end of countdown, another spell cast upon player. Can anyone give me some sample code? I tried working with professor putricide spell codes, and the life bloom spell, but its just not triggering. Yes I added an entry in spell_script_names...
I greet you gave comends such as cd ~ /
git clone git b 3.3.5: //github.com/TrinityCore/TrinityCore.git but it does not work I tried git clone git b 3.3.5: //github.com/TrinityCore/TrinityCore.git
and so it entered the Komeda not work in putty trying to do this on Linux but Tables of your Komeda does not work I do not know how I give myself the trick ....