Since I can only understand coding and not write them yet, have I decided to make a YouTube-channel where I'm making videos of TrinityCore. The reason I do this is to point out some of the mistakes that TrinityCore contains so you may correct them.
Since I had problems before with making my own compiled TrinityCore server I was required to post here on the website. I was very quickly surprised by the help I received, even knowing that I was a beginner. So I wanted to give something in return.
Since I have a good circle of friends who loves to play on my new server, I feel that's the way I contribute. By posting videos like this: https://www.youtube.com/channel/UCNh1RAcZfagi5xNVKVWl3PA?view_as=subscriber
!Please give feedback if there's anything you would like to see. Soon we're raiding Naxxramas, and the videoes will be posted.
!This video is not made to judge whether TrinityCore is good or not. It is made to correct mistakes!
- Thanks for reading. Chris
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...
When taking quests, NPC text is in French (witch is what I want) but when checking or completing, text become in English.
screens: quest proposal - quest validation
Does anyone have a clue how to change it to French only? (and what in the world have I done for it to be like this?)