• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Monster exeta res

adrenyslopez

Member
Joined
Dec 22, 2015
Messages
201
Reaction score
15
Hello everyone, is there any way to make sure that the exeta res does nothing to a monster?

I want this monster not to work exeta res

i used otbr tfs 1.3

Lua:
local mType = Game.createMonsterType("Soul Sphere")
local monster = {}

monster.description = "a soul sphere"
monster.experience = 0
monster.outfit = {
    lookType = 979,
    lookHead = 0,
    lookBody = 0,
    lookLegs = 0,
    lookFeet = 0,
    lookAddons = 0,
    lookMount = 0
}

monster.health = 25000
monster.maxHealth = 25000
monster.race = "undead"
monster.corpse = 0
monster.speed = 70
monster.summonCost = 0
monster.maxSummons = 0

monster.faction = FACTION_LION
monster.enemyFactions = {FACTION_LIONUSURPERS, FACTION_PLAYER}

monster.changeTarget = {
    interval = 5000,
    chance = 20
}

monster.flags = {
    summonable = false,
    attackable = true,
    hostile = true,
    convinceable = false,
    pushable = false,
    rewardBoss = false,
    illusionable = false,
    canPushItems = true,
    canPushCreatures = true,
    staticAttackChance = 90,
    targetDistance = 1,
    runHealth = 0,
    healthHidden = false,
    isBlockable = false,
    canWalkOnEnergy = true,
    canWalkOnFire = true,
    canWalkOnPoison = true,
    pet = false
}

monster.light = {
    level = 0,
    color = 0
}

monster.attacks = {
    {name ="melee", interval = 2000, chance = 100, minDamage = -0, maxDamage = -0},
    {name ="combat", interval = 2000, chance = 100, type = COMBAT_LIFEDRAIN, minDamage = -4000, maxDamage = -4000, range = 1, shootEffect = CONST_ANI_ENERGY, effect = CONST_ME_ENERGYHIT, target = true},
    {name ="combat", interval = 2000, chance = 70, type = COMBAT_LIFEDRAIN, minDamage = -3000, maxDamage = -3000, length = 1, spread = 10, effect = 10, target = false}
}

monster.defenses = {
    defense = 40,
    armor = 40
}

monster.elements = {
    {type = COMBAT_PHYSICALDAMAGE, percent = 20},
    {type = COMBAT_ENERGYDAMAGE, percent = -10},
    {type = COMBAT_EARTHDAMAGE, percent = 40},
    {type = COMBAT_FIREDAMAGE, percent = -10},
    {type = COMBAT_LIFEDRAIN, percent = 0},
    {type = COMBAT_MANADRAIN, percent = 0},
    {type = COMBAT_DROWNDAMAGE, percent = 0},
    {type = COMBAT_ICEDAMAGE, percent = 65},
    {type = COMBAT_HOLYDAMAGE , percent = -10},
    {type = COMBAT_DEATHDAMAGE , percent = 80}
}

monster.immunities = {
    {type = "paralyze", condition = true},
    {type = "outfit", condition = false},
    {type = "invisible", condition = true},
    {type = "bleed", condition = false}
}

mType:register(monster)
 
Back
Top