zbizu
Legendary OT User
cat mages with unique style of combat
preview: https://i.imgur.com/815P4uz.gifv
written for the lulz, don't expect it to be efficient/optimised
creaturescripts.xml:
monster\catlordboss.lua
monsters.xml
monster\scripts\catmage.lua
monster\scripts\catmageboss.lua
monster\scripts\catmagenovice.lua
monster\scripts\catmageelite.lua
added\master nekomancer.xml http://pastebin.com/uUnDKiuT
added\nekomancer elite.xml http://pastebin.com/f9i89yKc
added\nekomancer.xml http://pastebin.com/kBiUBgk1
added\novice nekomancer.xml http://pastebin.com/nT3ZvHiB
data\AI_catmageboss.lua http://pastebin.com/fKMf6n5S
global.lua:
preview: https://i.imgur.com/815P4uz.gifv
written for the lulz, don't expect it to be efficient/optimised
creaturescripts.xml:
Code:
<event type="healthchange" name="catmageboss_onhp" script="monster/catlordboss.lua"/>
<event type="preparedeath" name="catmageboss_resurr" script="monster/catlordboss.lua"/>
monster\catlordboss.lua
Code:
function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)
return demoneko.onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)
end
function onPrepareDeath(creature, lastHitKiller, mostDamageKiller)
return demoneko.onPrepareDeath(creature, lastHitKiller, mostDamageKiller)
end
monsters.xml
Code:
<monster name="Master Nekomancer" file="Added/master nekomancer.xml"/>
<monster name="Nekomancer Elite" file="Added/nekomancer elite.xml"/>
<monster name="Nekomancer" file="Added/nekomancer.xml"/>
<monster name="Novice Nekomancer" file="Added/novice nekomancer.xml"/>
monster\scripts\catmage.lua
Code:
function onCreatureAppear(self, creature) return false end
function onCreatureDisappear(self, creature) return false end
function onCreatureMove(self, creature, oldPosition, newPosition) return false end
function onCreatureSay(self, creature, type, message) return false end
function onThink(self, interval) return neko.onThink(self, interval) end
monster\scripts\catmageboss.lua
Code:
function onCreatureAppear(self, creature) return demoneko.onCreatureAppear(self, creature) end
function onCreatureDisappear(self, creature) return demoneko.onCreatureDisappear(self, creature) end
function onCreatureMove(self, creature, oldPosition, newPosition) return demoneko.onCreatureMove(self, creature, oldPosition, newPosition) end
function onCreatureSay(self, creature, type, message) return demoneko.onCreatureSay(self, creature, type, message) end
function onThink(self, interval) return demoneko.onThink(self, interval) end
monster\scripts\catmagenovice.lua
Code:
function onCreatureAppear(self, creature) return false end
function onCreatureDisappear(self, creature) return false end
function onCreatureMove(self, creature, oldPosition, newPosition) return false end
function onCreatureSay(self, creature, type, message) return false end
function onThink(self, interval) return noviceneko.onThink(self, interval) end
monster\scripts\catmageelite.lua
Code:
function onCreatureAppear(self, creature) return false end
function onCreatureDisappear(self, creature) return false end
function onCreatureMove(self, creature, oldPosition, newPosition) return false end
function onCreatureSay(self, creature, type, message) return false end
function onThink(self, interval) return nekoelite.onThink(self, interval) end
added\master nekomancer.xml http://pastebin.com/uUnDKiuT
added\nekomancer elite.xml http://pastebin.com/f9i89yKc
added\nekomancer.xml http://pastebin.com/kBiUBgk1
added\novice nekomancer.xml http://pastebin.com/nT3ZvHiB
data\AI_catmageboss.lua http://pastebin.com/fKMf6n5S
global.lua:
Code:
dofile('data/AI_catmageboss.lua')