def LogicDaemon2_Subject(subject, msg): gender = random.choice(('f', 'm')) minLevel = 8 maxLevel = 17 lvl = sim_clamp(minLevel, maxLevel, subject.Level) subject.AbilityInv.createSimulacrum(('Simulacra.Nuker', lvl, gender), 'SimulacraInit()', LogicDaemon2Ability) Utility.SendAbilityOutputToCasterMsg( StringTable.ID_CLIENT_ABILITY_CREATE_SIMULACRA_CASTER, LogicDaemon2Ability, msg)
def RemoteProxy5_Subject(subject, msg): gender = random.choice(('f', 'm')) minLevel = 35 maxLevel = 50 lvl = sim_clamp(minLevel, maxLevel, subject.Level) if (len(consolevar.RemoteProxySheet) > 2): subject.AbilityInv.createSimulacrum( (consolevar.RemoteProxySheet, lvl, gender), 'SimulacraInit()', RemoteProxy5Ability) else: subject.AbilityInv.createSimulacrum( (random.choice(simulacra_choices), lvl, gender), 'SimulacraInit()', RemoteProxy5Ability) Utility.SendAbilityOutputToCasterMsg( StringTable.ID_CLIENT_ABILITY_CREATE_SIMULACRA_CASTER, RemoteProxy5Ability, msg)