NPC: wraiths

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
Shoob
Reaper
Posts: 1535
Joined: Mon Jan 22, 2007 6:31 pm
Location: East of the sun, west of the moon

NPC: wraiths

#1 Post by Shoob »

more undeads.... (invisible, hehehehe) and not tested

<already added>
- white wraith
- grey wraith
- black wraith
- nether wraith (pending decision)

<to be added>
- none

what needs to be done:
- level change <----------too high
- rarity change
- damage change

discuss...
Oliphant am I, and I never lie.

Shoob
Reaper
Posts: 1535
Joined: Mon Jan 22, 2007 6:31 pm
Location: East of the sun, west of the moon

Re: NPC: wraiths

#2 Post by Shoob »

Code: Select all

-- their icy grasp will sap  and drain exp as well as sap the ability to move well (dex)
--no drops :) they are, after all, incorporeal, barely in the physical realm.
--white, grey, black, (nether?)  (nether may be removed, need more?)

-- last updated: 4:00pm March 1st, 2010

local Talents = require("engine.interface.ActorTalents")

newEntity{
	define_as = "BASE_NPC_WRAITH",
	type = "undead", subtype = "wraith",
	display = "W", color=colors.WHITE,
	desc = [[Mostly incorporeal beings...]],

	combat = { dam=resolvers.rngavg(9,13), atk=10, apr=9, damtype=DamageType.DRAINEXP },

	body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },

	autolevel = "caster",
	ai = "dumb_talented_simple", ai_state = { talent_in=4, },
	energy = { mod=1 },
	stats = { str=12, dex=12, mag=12, con=12 },
	life_regen = 2,

	tmasteries = resolvers.tmasteries{ ["technique/other"]=0.3, ["spell/phantasm"]=0.3, ["spell/water"]=0.3, ["spell/arcane"]=0.3 },  --give freeze, blur sight, phantasmal shield, and ice storm, manathrust? arcane power? mana pool?
	
	resists = { [DamageType.COLD] = 100, [DamageType.POISON] = 100, [DamageType.LIGHT] = -100, [DamageType.CONFUSION] =  100, [DamageType.FIRE] = -50, [DamageType.ARCANE] = -50 },
	blind_immune = 1,
	see_invisible = 5,
	invisible = 5,
	undead = 1,
}

newEntity{ base = "BASE_NPC_WRAITH",
	name = "white wraith", color=colors.WHITE,
	desc=[[It is a tangible but ghostly form made of white fog.]],
	level_range = {26, 50}, exp_worth = 1,
	rarity = 4,
	max_life = resolvers.rngavg(40,50),
	combat_armor = 7, combat_def = 6,
	
	talents = resolvers.talents{ [Talents.T_FREEZE]=1, [Talents.T_BLUR_SIGHT]=1 }, -- [Talents.T_DRAIN_DEX]=1 },
}

newEntity{ base = "BASE_NPC_WRAITH",
	name = "grey wraith", color=colors.SLATE,
	desc=[[A tangible but ghostly form, made of grey fog. The air around it feels deathly cold.]],
	level_range = {36, 50}, exp_worth = 1,
	rarity = 4,
	max_life = resolvers.rngavg(40,50),
	combat_armor = 7, combat_def = 6,
	
	talents = resolvers.talents{ [Talents.T_FREEZE]=2, [Talents.T_BLUR_SIGHT]=2, [Talents.T_PHANTASMAL_SHIELD]=1 }, -- [Talents.T_DRAIN_DEX]=2 },
}

newEntity{ base = "BASE_NPC_WRAITH",
	name = "black wraith", color=colors.WHITE,
	desc=[[A figure that seems made of void, its strangely human shape is cloaked in shadow. It reaches out at you.]],
	level_range = {38, 50}, exp_worth = 1,
	rarity = 4,
	max_life = resolvers.rngavg(40,50),
	combat_armor = 7, combat_def = 6,
	
	talents = resolvers.talents{ [Talents.T_FREEZE]=3, [Talents.T_BLUR_SIGHT]=3, [Talents.T_PHANTASMAL_SHIELD]=2, [Talents.T_ICE_STORM]=1 }, -- [Talents.T_DRAIN_DEX]=3 },
}

newEntity{ base = "BASE_NPC_WRAITH",
	name = "nether wraith", color=colors.LIGHT_GREEN,
	desc=[[A form that hurts the eye, death permeates the air around it. As it nears you, a coldness saps your soul.]],
	level_range = {39, 50}, exp_worth = 1,
	rarity = 4,
	max_life = resolvers.rngavg(40,50),
	combat_armor = 7, combat_def = 6,
	
	talents = resolvers.talents{ [Talents.T_FREEZE]=3, [Talents.T_BLUR_SIGHT]=3, [Talents.T_PHANTASMAL_SHIELD]=3, [Talents.T_ICE_STORM]=2 }, -- [Talents.T_DRAIN_DEX]=5 },
}
Oliphant am I, and I never lie.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: NPC: wraiths

#3 Post by darkgod »

All actors that wish to cast spells must have T_MANA_POOL talent.

Try to not give many immunities, high resists are fine but let's avoid the angband syndrom :)

As for poison immunity do: poison_immune=1
There is no POISON damage type, poison, once applied does nature damage.
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: NPC: wraiths

#4 Post by darkgod »

To resist confusion, stuns, knockbacks and so on there are three special "resistances":
combat_spellresist (base: (MAG+WIL) * 0.25)
combat_physresist (base: (STR+CON) * 0.25)
combat_mentalresist (base: (CUN+WIL) * 0.25)

They work just like defence does, but for special effects.
When trying to confuse a target there is a "hit check" between the caster spellpower and the target spellresist.
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply