1)What is your Name
Chris
2)How old are you?
16
3)How long have you been working with Emulation?
Allmost 2 years now
4)How long have you been familiar with Lua?
Yes i am familiar with lua.
5)Do you know Sql?
yep
6)Have you been in recent or past scripting teams?
No teams i have been on yet
6a)If so, Please list some of them.
7)We are looking for advanced Lua Scripters, Show us your work.
Ill just make a boss fast for this in less you need me to show you something i have all ready made.
8)How and What are you able to do for AscendScripting?
Hopefully Script C++ soon and Do a lot of lua
9)Will you show dedication towards AscendScripting?
Yes i will i like the idea of this project and i want to keep it going.
10)Final Question:Do you know how to insert a Sql Code/Querie into your database from a Lua Script?
:PerformCharDBQuery()
:PerformWorldDBQuery()
Chris
2)How old are you?
16
3)How long have you been working with Emulation?
Allmost 2 years now
4)How long have you been familiar with Lua?
Yes i am familiar with lua.
5)Do you know Sql?
yep
6)Have you been in recent or past scripting teams?
No teams i have been on yet
6a)If so, Please list some of them.
7)We are looking for advanced Lua Scripters, Show us your work.
Ill just make a boss fast for this in less you need me to show you something i have all ready made.
- Code:
function Jokerofsouls_OnCombat(pUnit, event)
pUnit:SendChatMessage(14, 0, "Something something something")
pUnit:RegisterEvent("Enrage", 600000, 1) -- Enrage Timer 6mins
pUnit:RegisterEvent("Novas", 10000, 0) -- Does a frost nova or fire nova Every 10 Secs
pUnit:RegisterEvent("Adds", 50000, 0) -- Summons adds after 50 secs of combat
pUnit:RegisterEvent("HP", 5000, 1)
end
function Enrage(pUnit, event)
pUnit:FullCastSpell(Number)
end
function Novas(pUnit, event)
local Target = pUnit:GetMainTank()
local Nova = math.random(1, 2)
if Nova == 1 then
pUnit:CastSpellOnTarget(Number, Target)
elseif Nova == 2 then
pUnit:CastSpellOnTarget(Number, Target)
end
end
function Adds(pUnit, event)
pUnit:SendChatMessage(14, 0, "Something something something")
local x,y,x,o = pUnit:GetX(),pUnit:GetY(),pUnit:GetZ(),pUnit:GetO()
pUnit:SpawnCrature(NpcName, x, y, z, o, 14, 0)
pUnit:SpawnCrature(NpcName, x, y, z, o, 14, 0)
end
function HP(pUnit, event)
local Target = pUnit:GetRandomPlayer(0)
local hp = pUnit:GetHealthPct()
if hp <= 30 then
pUnit:FullCastSpellOnTarget(Number, Target)
end
end
function Jokerofsouls_OnDeath(pUnit, event)
pUnit:RemoveEvents()
end
function Jokerofsouls_OnLeaveCombat(pUnit, event)
pUnit:RemoveEvents()
end
function Jokerofsouls_OnKillTarget(pUnit, event)
pUnit:SendChatMessage(14, 0, "Something something something")
pUnit:RemoveEvents()
end
RegisterUnitEvent(Number, 1, "Jokerofsouls_OnCombat")
RegisterUnitEvent(Number, 2, "Jokerofsouls_OnLeaveCombat")
RegisterUnitEvent(Number, 3, "Jokerofsouls_OnKillTarget")
RegisterUnitEvent(Number, 4, "Jokerofsouls_OnDeath")
8)How and What are you able to do for AscendScripting?
Hopefully Script C++ soon and Do a lot of lua
9)Will you show dedication towards AscendScripting?
Yes i will i like the idea of this project and i want to keep it going.
10)Final Question:Do you know how to insert a Sql Code/Querie into your database from a Lua Script?
:PerformCharDBQuery()
:PerformWorldDBQuery()