I'm work on a event who life longest (PvM),
now i will be add ony few Mobs in the event not xxxx Mobs for this Event in the Database.
I search now a way to set the stats of the Mobs up per round.
I have test this , but this not work

Code: Select all
npc.setNpcId(MobsOnRound[luck]) newhp = npc.getHP()*self.RoundCount npc.setHP(newhp) newmp = npc.getMP()*self.RoundCount npc.setMP(newmp) newpatk = npc.getPAtk()*self.RoundCount npc.setPAtk(newpatk) newmatk = npc.getMAtk()*self.RoundCount npc.setMAtk(newmatk) newpdef = npc.getPDef()*self.RoundCount npc.setPDef(newpdef) newmdef = npc.getMDef()*self.RoundCount npc.setMDef(newmdef) self.Mobs.append(mob)
First problem is select the npc ( npc.setNpcId(MobsOnRound[luck]) ).
MobsOnRound[] is a array with few Monster IDs.
Regards
PapaHarni