AscentWorld
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeHome  PortalPortal  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 [RELEASE] Kirus

Go down 
AuthorMessage
HalestormXV
Sentinos
Sentinos
HalestormXV


Posts : 43
Join date : 2008-03-21

[RELEASE] Kirus Empty
PostSubject: [RELEASE] Kirus   [RELEASE] Kirus EmptySun Mar 23, 2008 9:42 am

Elven Warrior. He is tank and spank demon hunter. This is one of my first scripts so it is not as advanced as my others. However this was the first script that I learned how to a do a model change. Wipp update with the SQL when i get the chance to.

Code:
function Kirus_Darkhand_Enrage(pUnit, event)
   if pUnit:GetHealthPct() < 30 then
      pUnit:RemoveEvents()
      pUnit:PlaySoundToSet(11305)
      pUnit:SetModel(20125)
      pUnit:CastSpell(33653)
      pUnit:CastSpell(36900)
      pUnit:SendChatMessage(11,0,"We all have our demons!")
   end
end



function Kirus_Darkhand_onCombat (pUnit, Event)
   pUnit:PlaySoundToSet(11309)
   pUnit:SendChatMessage(11, 0, "At last I am liberated. It has been to long since I have tasted true freedom!")
   pUnit:RegisterEvent("Kirus_Darkhand_Enrage",1000,0)
end

function Kirus_Darkhand_onLeaveCombat(pUnit, Event)
   pUnit:RemoveEvents()
   pUnit:RemoveAura(33653)
   pUnit:RemoveAura(36900)
   pUnit:SetModel(20130)
end

function Kirus_Darkhand_onDeath(pUnit, Event)
   pUnit:RemoveEvents()
                pUnit:SendChatMessage(11, 0, "For....Hale..storm....!")
   pUnit:RemoveAura(33653)
   pUnit:RemoveAura(36900)
   pUnit:SetModel(20130)
end

RegisterUnitEvent (200000, 1, "Kirus_Darkhand_onCombat")
RegisterUnitEvent (200000, 2, "Kirus_Darkhand_onLeaveCombat")
RegisterUnitEvent (200000, 4, "Kirus_Darkhand_onDeath")
Back to top Go down
 
[RELEASE] Kirus
Back to top 
Page 1 of 1
 Similar topics
-
» [RELEASE] CN WEAPONS V1
» [RELEASE] CN WEAPONS V2
» [RELEASE] Medivh
» [RELEASE] POWER UP VENDOR
» [RELEASE] Neveros Daktheren

Permissions in this forum:You cannot reply to topics in this forum
AscentWorld :: Ascent Development :: Releases-
Jump to: