Custom Toorum-like mode
Posted: Sat Apr 06, 2013 10:06 am
I want to add a toorum like mode to my dungeons, so that if the first champions name is for example Evante, then the party is replaced by a custom characther called Evante
Heres my code for a custom characther
So how would I get it so that it checks the names of the champion and replaces them if they have the correct name?
Heres my code for a custom characther
Code: Select all
for i=2,4 do party:getChampion(i):setEnabled(false) end
party:getChampion(1):setStat("dexterity", 16)
party:getChampion(1):setStat("willpower", 14)
party:getChampion(1):setName("Evante Morecari")
party:getChampion(1):setClass("Rogue")
party:getChampion(1):setPortrait("mod_assets/Evante.tga")
party:getChampion(1): trainSkill("assassination",50,true)
party:getChampion(1): trainSkill("daggers",10,true)