-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009, 2010 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . -- -- Nicolas Casalini "DarkGod" -- darkgod@te4.org local Talents = require("engine.interface.ActorTalents") newEntity{ define_as = "BASE_NPC_BLIGHT_NAGA", type = "humanoid", subtype = "naga", display = "n", color=colors.GREY, combat = { dam=resolvers.rngavg(5,12), atk=3, apr=8, physspeed=2 }, body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1, QUIVER=1 }, resolvers.drops{chance=20, nb=1, {} }, resolvers.drops{chance=10, nb=1, {type="money"} }, infravision = 20, can_breath={water=1}, life_rating = 12, rank = 2, size_category = 3, open_door = true, resolvers.inscriptions(1, "infusion"), resolvers.inscriptions(1, "rune"), autolevel = "warrior", ai = "dumb_talented_simple", ai_state = { ai_move="move_dmap", talent_in=1, }, energy = { mod=1.2 }, stats = { str=17, dex=17, mag=17, con=12 }, resists = { [DamageType.BLIGHT] = 100, }, } newEntity{ base = "BASE_NPC_BLIGHT_NAGA", name = "naga plaguebearer", color=colors.GREEN, desc = [[A fallen member of the naga race. He has a multitude of diseases, and wishes to share them all with you!]], level_range = {33, nil}, exp_worth = 1, rarity = 1, max_life = resolvers.rngavg(145,170), life_rating = 19, resolvers.equip{ {type="weapon", subtype="trident", autoreq=true, special_rarity="trident_rarity"}, }, combat_armor = 20, combat_def = 10, resolvers.talents{ [Talents.T_SPIT_POISON]=5, [Talents.T_RUSH]=8, [Talents.T_VIRULENT_DISEASE]=5, [Talents.T_EPIDEMIC]=4, [Talents.T_WEAPON_COMBAT]=7, [Talents.T_EXOTIC_WEAPONS_MASTERY]=7, }, } newEntity{ base = "BASE_NPC_BLIGHT_NAGA", name = "naga bonefiend", color=colors.WHITE, desc = [[The flesh of this naga's tail has completely rotted away, leaving bare bone. Hasn't slowed her down much, though.]], level_range = {36, nil}, exp_worth = 1, rarity = 4, rank = 3, female = true, max_life = resolvers.rngavg(120,150), life_rating = 15, resolvers.equip{ {type="weapon", subtype="waraxe", autoreq=true}, }, combat_armor = 10, combat_def = 20, autolevel = "warriormage", ai = "tactical", ai_tactic = resolvers.tactic"melee", resolvers.talents{ [Talents.T_SPIT_POISON]=5, [Talents.T_BONE_GRAB]=4, [Talents.T_BONE_SPEAR]=4, [Talents.T_BONE_NOVA]=3, [Talents.T_WEAPON_COMBAT]=6, [Talents.T_WEAPONS_MASTERY]=6, }, } newEntity{ base = "BASE_NPC_BLIGHT_NAGA", name = "fallen naga psyren", color=colors.LIGHT_UMBER, image="npc/naga_psyren.png", desc = [[Without constant mental training, this blighted psyren's mind has become as degenerated and warped as her body.]], level_range = {39, nil}, exp_worth = 1, rarity = 4, rank = 3, female = true, max_life = resolvers.rngavg(100,110), life_rating = 13, resolvers.equip{ {type="weapon", subtype="dagger", autoreq=true}, }, combat_armor = 10, combat_def = 10, autolevel = "wildcaster", ai = "tactical", ai_tactic = resolvers.tactic"ranged", resolvers.talents{ [Talents.T_MIND_SEAR]=5, [Talents.T_BLOOD_BOIL]=5, [Talents.T_POISON_STORM]=5, }, }