[FUNCTION f_skillclass_set]
if (<plot1> & (plotmask_vampire | plotmask_dwarf))==(plotmask_vampire | plotmask_dwarf)
src.skillclass = vampire_dwarf_class
elseif (<plot1> & (plotmask_vampire | plotmask_elf))==(plotmask_vampire | plotmask_elf)
src.skillclass = vampire_elf_class
elseif (<plot1> & (plotmask_vampire | plotmask_orc))==(plotmask_vampire | plotmask_orc)
src.skillclass = vampire_orc_class
elseif (<plot1> & (plotmask_paladin | plotmask_dwarf))==(plotmask_paladin | plotmask_dwarf)
src.skillclass = paladin_dwarf_class
elseif (<plot1> & (plotmask_paladin | plotmask_elf))==(plotmask_paladin | plotmask_elf)
src.skillclass = paladin_elf_class
elseif (<plot1> & (plotmask_paladin | plotmask_orc))==(plotmask_paladin | plotmask_orc)
src.skillclass = paladin_orc_class
elseif (<plot1> & plotmask_vampire)
src.skillclass = vampire_class
elseif (<plot1> & plotmask_paladin)
src.skillclass = paladin_class
elseif (<plot1> & plotmask_dwarf)
src.skillclass = dwarf_class
elseif (<plot1> & plotmask_elf)
src.skillclass = elf_class
elseif (<plot1> & plotmask_orc)
src.skillclass = orc_class
ELSEIF (<PLOT1> & plotmask_snake)
SRC.SKILLCLASS=snake_class
else
src.skillclass = class_undeclared
endif
return 1
[TYPEDEF t_skillclass_set]
// more=0 - set skillclass for class_undeclared only
On=@Step
if (<src.skillclass>==class_undeclared) || (<more>!=0)
src.f_skillclass_set
endif
return 0
//#########################
// Pure class skillclasses
//#########################
// -=#__Paladdin__#=-
[SKILLCLASS paladin_class]
NAME=Paladin
//EVENTS=e_paladinclass
STATSUM=350
SKILLSUM=10000.0
STR=150
INT=100
DEX=100
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=100.0
Bowcraft=100.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=115.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=110.0
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=100.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=115.0
Macefighting=100.0
Fencing=100.0
Wrestling=100.0
Lumberjacking=100.0
Mining=100.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
ON=@Logout
SRC.tag.killcount=<src.kills>
src.tag.myallskills=(<src.skilltotal>/10)
ON=@LOGIN
src.KILLS=<tag.killcount>
EVENTS=+e_antiloot
EVENTS=+e_bugfixes
EVENTS=+e_resist
src.f_avtograph
[EVENTS e_paladinclass]
if (<argn> == 03c)
src.sysmessage You restrict in summoning daemons, holy paladin!
return 1
endif
// -=#__Vampir__#=-
[SKILLCLASS vampire_class]
//NAME=Vampire
//EVENTS=e_vampireclass
STATSUM=350
SKILLSUM=10000.0
STR=140
INT=110
DEX=100
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=100.0
Bowcraft=100.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=115.0
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=115.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=120.0
Macefighting=100.0
Fencing=100.0
Wrestling=100.0
Lumberjacking=100.0
Mining=100.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
ON=@Logout
SRC.tag.killcount=<src.kills>
src.tag.myallskills=(<src.skilltotal>/10)
ON=@LOGIN
src.KILLS=<tag.killcount>
EVENTS=+e_antiloot
EVENTS=+e_bugfixes
EVENTS=+e_resist
src.f_avtograph
[EVENTS e_vampireclass]
//########################
// Pure race skillclasses
//########################
[SKILLCLASS dwarf_class]
NAME=Dwarf
//EVENTS=e_dwarfclass
STATSUM=350
SKILLSUM=10000.0
STR=150
INT=90
DEX=110
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=115.0
Bowcraft=100.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0 Inscription=100.0
LockPicking=100.0
Magery=100.0
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=100.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=100.0
Macefighting=100.0
Fencing=100.0
Wrestling=100.0
Lumberjacking=100.0
Mining=115.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
ON=@Logout
SRC.tag.killcount=<src.kills>
src.tag.myallskills=(<src.skilltotal>/10)
ON=@LOGIN
src.KILLS=<tag.killcount>
EVENTS=+e_antiloot
EVENTS=+e_bugfixes
EVENTS=+e_resist
src.f_avtograph
[EVENTS e_dwarfclass]
[SKILLCLASS elf_class]
NAME=Elf
//EVENTS=e_elffclass
STATSUM=350
SKILLSUM=10000.0
STR=110
INT=110
DEX=130
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=100.0
Bowcraft=115.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=100.0
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=115.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=100.0
Macefighting=100.0
Fencing=100.0
Wrestling=100.0
Lumberjacking=100.0
Mining=100.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
ON=@Logout
SRC.tag.killcount=<src.kills>
src.tag.myallskills=(<src.skilltotal>/10)
ON=@LOGIN
src.KILLS=<tag.killcount>
EVENTS=+e_antiloot
EVENTS=+e_bugfixes
EVENTS=+e_resist
src.f_avtograph
[EVENTS e_elfclass]
[SKILLCLASS orc_class]
NAME=Orc
//EVENTS=e_orcclass
STATSUM=350
SKILLSUM=10000.0
STR=135
INT=80
DEX=135
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=100.0
Bowcraft=100.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=100.0
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=100.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=100.0
Macefighting=115.0
Fencing=100.0
Wrestling=115.0
Lumberjacking=100.0
Mining=100.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
ON=@Logout
SRC.tag.killcount=<src.kills>
src.tag.myallskills=(<src.skilltotal>/10)
ON=@LOGIN
src.KILLS=<tag.killcount>
EVENTS=+e_antiloot
EVENTS=+e_bugfixes
EVENTS=+e_resist
src.f_avtograph
[EVENTS e_orcclass]
//#############################
// Vampire + race skillclasses
//#############################
[SKILLCLASS vampire_dwarf_class]
NAME=Dwarf vampire
//EVENTS=e_dwarfclass
//EVENTS=e_vampireclass
STATSUM=350
SKILLSUM=10000.0
STR=150
INT=90
DEX=110
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=115.0
Bowcraft=100.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=115.0
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=100.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=120.0
Macefighting=100.0
Fencing=100.0
Wrestling=100.0
Lumberjacking=100.0
Mining=115.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
ON=@Logout
SRC.tag.killcount=<src.kills>
src.tag.myallskills=(<src.skilltotal>/10)
ON=@LOGIN
src.KILLS=<tag.killcount>
EVENTS=+e_antiloot
EVENTS=+e_bugfixes
EVENTS=+e_resist
src.f_avtograph
[SKILLCLASS vampire_elf_class]
NAME=Elf vampire
//EVENTS=e_elffclass
//EVENTS=e_vampireclass
STATSUM=350
SKILLSUM=10000.0
STR=110
INT=110
DEX=130
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=100.0
Bowcraft=115.0 // !!!
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=115.0 // !!!
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=115.0 // !!!
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=120.0 // !!!
Macefighting=100.0
Fencing=100.0
Wrestling=100.0
Lumberjacking=100.0
Mining=100.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
ON=@Logout
SRC.tag.killcount=<src.kills>
src.tag.myallskills=(<src.skilltotal>/10)
ON=@LOGIN
src.KILLS=<tag.killcount>
EVENTS=+e_antiloot
EVENTS=+e_bugfixes
EVENTS=+e_resist
src.f_avtograph
[SKILLCLASS vampire_orc_class]
NAME=Orc vampire
//EVENTS=e_orcclass
//EVENTS=e_vampireclass
STATSUM=350
SKILLSUM=10000.0
STR=135
INT=80
DEX=135
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=100.0
Bowcraft=100.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=115.0 // !!!
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=100.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=120.0 // !!!
Macefighting=115.0 // !!!
Fencing=100.0
Wrestling=115.0 // !!!
Lumberjacking=100.0
Mining=100.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
ON=@Logout
SRC.tag.killcount=<src.kills>
src.tag.myallskills=(<src.skilltotal>/10)
ON=@LOGIN
src.KILLS=<tag.killcount>
EVENTS=+e_antiloot
EVENTS=+e_bugfixes
EVENTS=+e_resist
src.f_avtograph
//#############################
// Paladin + race skillclasses
//#############################
[SKILLCLASS paladin_dwarf_class]
NAME=Dwarf paladin
//EVENTS=e_dwarfclass
//EVENTS=e_paladinclass
STATSUM=350
SKILLSUM=10000.0
STR=150
INT=90
DEX=110
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=115.0 // !!!
Bowcraft=100.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=110.0 // !!!
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=100.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=115.0 // !!!
Macefighting=100.0
Fencing=100.0
Wrestling=100.0
Lumberjacking=100.0
Mining=115.0 // !!!
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
ON=@Logout
SRC.tag.killcount=<src.kills>
src.tag.myallskills=(<src.skilltotal>/10)
ON=@LOGIN
src.KILLS=<tag.killcount>
EVENTS=+e_antiloot
EVENTS=+e_bugfixes
EVENTS=+e_resist
src.f_avtograph
[SKILLCLASS paladin_elf_class]
NAME=Elf paladin
//EVENTS=e_elffclass
//EVENTS=e_paladinclass
STATSUM=350
SKILLSUM=10000.0
STR=110
INT=110
DEX=130
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=100.0
Bowcraft=115.0 // !!!
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0 LockPicking=100.0
Magery=110.0 // !!!
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=115.0 // !!!
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=115.0 // !!!
Macefighting=100.0
Fencing=100.0
Wrestling=100.0
Lumberjacking=100.0
Mining=100.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
ON=@Logout
SRC.tag.killcount=<src.kills>
src.tag.myallskills=(<src.skilltotal>/10)
ON=@LOGIN
src.KILLS=<tag.killcount>
EVENTS=+e_antiloot
EVENTS=+e_bugfixes
EVENTS=+e_resist
src.f_avtograph
[SKILLCLASS paladin_orc_class]
NAME=Orc paladin
//EVENTS=e_orcclass
//EVENTS=e_paladinclass
STATSUM=350
SKILLSUM=10000.0
STR=135
INT=80
DEX=135
Anatomy=100.0
ItemID=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=100.0
Bowcraft=100.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=110.0 // !!!
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=100.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteID=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=115.0 // !!!
Macefighting=115.0 // !!!
Fencing=100.0
Wrestling=115.0 // !!!
Lumberjacking=100.0
Mining=100.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
ON=@Logout
SRC.tag.killcount=<src.kills>
src.tag.myallskills=(<src.skilltotal>/10)
ON=@LOGIN
src.KILLS=<tag.killcount>
EVENTS=+e_antiloot
EVENTS=+e_bugfixes
EVENTS=+e_resist
src.f_avtograph
[DEFNAME RACENAMES]
plotmask_dwarf 02
plotmask_elf 04
plotmask_orc 08
plotmask_snake 0200
plotmask_paladin 080
plotmask_vampire 0100
// === Functions ===
[FUNCTION f_dwarf_only]
if !(<src.plot1>&plotmask_dwarf)
src.message Dast thau honestly belives to be the firefroged son of Earth?
unequip
return 1
else
return 1
endif
return 1
[FUNCTION f_elf_only]
if !(<src.plot1>&plotmask_elf)
if <src.plot1>&plotmask_orc
src.message Get off unclean!
src.damage {10 20}
else
src.message Do not regress thyself proclaiming something, you are not, no Rrival!
endif
unequip
return 1
else
return 1
endif
return 1
[FUNCTION f_orc_only]
if !(<src.plot1>&plotmask_orc)
src.sfx snd_spell_poison
src.spelleffect s_poison 1000
if <src.plot1>&plotmask_elf
src.message Ugh ugh!
src.damage {10 20}
else
src.message To darkness of the orcish blood do not have any thy compliance!
endif
unequip
return 1
else
return 1
endif
retur
n 1
[FUNCTION f_orc_plate_only]
if !(<src.plot1>&plotmask_orc)
src.sfx snd_spell_poison
src.spelleffect s_poison 1000
if <src.plot1>&plotmask_elf
src.message Ugh ugh!
src.damage {10 20}
else
src.message To darkness of the orcish blood do not have any thy compliance!
endif
unequip
return 1
elseif (<src.fame><5000)
src.message Get's thy sparkly hands off, Cleansed one! Thy not deserves to wear this. Are you realy orc?
unequip
return 1
else
return 1
endif
[FUNCTION f_vampire_only]
if <src.plot1>&plotmask_vampire
if <src.karma>>4000
src.message Thy deeds have not sustained enough to forge your soul to be rigid!
unequip
return 1
else
src.message Thau art wilst be protected by Blood God!
return 1
endif
else
src.message Thau does not belong to Bloodsucking Breed!
src.damage={5 10}
unequip
return 1
endif
return 1
[FUNCTION f_paladin_only]
if <src.plot1>&plotmask_paladin
if <src.karma><4000
src.message Thou, what do you think about your karma??
unequip
return 1
else
src.message Death to all vampir's!!!!
return 1
endif
else
src.message OOO weapon is Pladin's, it's silver!!!!
src.damage={5 10}
unequip
return 1
endif
return 1
[FUNCTION f_vampire_knight_only]
if <src.plot1>&plotmask_vampire
if <src.karma>>2000
src.message Thy deeds have not sustained enough to forge your soul to be rigid!
unequip
return 1
endif
if <src.fame><3500
src.message Are you realy Vampire Knight?
unequip
return 1
endif
src.message Thau art wilst be guarded by Blood God you, Brave Bat!
return 1
else
src.message Thau does not belong to Bloodsucking Breed!
src.damage {10 20}
src.mana=(<src.mana>/2)
src.stamina=(<src.stamina>/2)
unequip
return 1
endif
[FUNCTION f_nosferatu_only]
if <src.plot1>&plotmask_vampire
if <src.karma>>0
src.message Thy deeds have not sustained enough to forge your soul to be rigid!
unequip
return 1
endif
if <src.fame><7500
src.message Are you realy Nosferatu?
unequip
return 1
endif
src.message Blood God shalst bestow His hand on you, Master!
return 1
else
src.message Thau does not belong to Bloodsucking Breed!
src.damage {20 40}
src.mana=0
src.stamina=0
unequip
return 1
endif
[FUNCTION f_old_vampire]
if <src.plot1>&plotmask_vampire
src.message Thy places armor on dy shoulders to recipicate enourmous force of perished Blood God Clan...
src.sfx 0e6
else
src.message Thy sure projects an image of a worthy vampire, wimp!
endif
return 1
[FUNCTION f_old_nosferatu]
if <src.plot1>&plotmask_vampire
src.message You wear this strange armor and feel the power of old Blood God Clan...
src.sfx 0e6 // wolf
else
src.message Thy sure projects an image of a worthy Nosferatu, wimp!
endif
return 1
//################
// Chars & bodies
//################
[CHARDEF 04200]
DEFNAME=c_dwarf_male
//Dwarf male
NAME=Dwarf male
ID=C_MAN
RESOURCES=i_flesh_head, i_flesh_torso, i_flesh_right_arm, i_flesh_left_arm, i_flesh_left_leg, i_flesh_right_leg, i_blood_2
FOODTYPE=15 t_food, t_fruit
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff
SHELTER=r_house
CAN=MT_WALK|MT_RUN|MT_FIRE_IMMUNE|MT_USEHANDS|MT_EQUIP|MT_MALE
ICOn=02106
TSPEECH=spk_human_prime
TSPEECH=spk_human_default
TEVENTS=e_Human_HearUnk
On=@Create
color=all_skin_colors
FENCING={15.0 38.0}
PARRYING={15.0 38.0}
swordsmanship={15.0 38.0}
wrestling={15.0 38.0}
macefighting={15.0 38.0}
MAGICRESISTANCE={15.0 38.0}
tactics={15.0 38.0}
NPC=brain_human
CATEGORY=Civilized
SUBSECTIOn=Races
DESCRIPTIOn=Dwarf male
[CHARDEF 04201]
DEFNAME=c_dwarf_female
//Dwarf female
NAME=Dwarf female
ID=0191
RESOURCES=i_flesh_head, i_flesh_torso, i_flesh_right_arm, i_flesh_left_arm, i_flesh_left_leg, i_flesh_right_leg, i_blood_2
FOODTYPE=15 t_food, t_fruit
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff
SHELTER=r_house
CAN=MT_WALK|MT_RUN|MT_FIRE_IMMUNE|MT_USEHANDS|MT_EQUIP|MT_FEMALE
ICOn=02107
TSPEECH=spk_human_prime
TSPEECH=spk_human_default
TEVENTS=e_Human_HearUnk
On=@Create
color=all_skin_colors
FENCING={15.0 38.0}
PARRYING={15.0 38.0}
swordsmanship={15.0 38.0}
wrestling={15.0 38.0}
macefighting={15.0 38.0}
MAGICRESISTANCE={15.0 38.0}
tactics={15.0 38.0}
NPC=brain_human
CATEGORY=Civilized
SUBSECTIOn=Races
DESCRIPTIOn=Dwarf female
[CHARDEF 04202]
DEFNAME=c_elf_male
//Elf male
Name=Elf male
ID=C_MAN
RESOURCES=i_flesh_head, i_flesh_torso, i_flesh_right_arm, i_flesh_left_arm, i_flesh_left_leg, i_flesh_right_leg, i_blood_2
FOODTYPE=15 t_food, t_fruit
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff
SHELTER=r_house
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP|MT_MALE
ICOn=02106
TSPEECH=spk_human_prime
TSPEECH=spk_human_default
TEVENTS=e_Human_HearUnk
On=@Create
color=all_skin_colors
FENCING={15.0 38.0}
PARRYING={15.0 38.0}
swordsmanship={15.0 38.0}
wrestling={15.0 38.0}
macefighting={15.0 38.0}
MAGICRESISTANCE={15.0 38.0}
tactics={15.0 38.0}
NPC=brain_human
CATEGORY=Civilized
SUBSECTIOn=Races
DESCRIPTIOn=Elf male
[CHARDEF 04203]
DEFNAME=c_elf_female
//Elf female
NAME=Elf female
ID=0191
RESOURCES=i_flesh_head, i_flesh_torso, i_flesh_right_arm, i_flesh_left_arm, i_flesh_left_leg, i_flesh_right_leg, i_blood_2
FOODTYPE=15 t_food, t_fruit
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff
SHELTER=r_house
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP|MT_FEMALE
ICOn=02107
TSPEECH=spk_human_prime
TSPEECH=spk_human_default
TEVENTS=e_Human_HearUnk
On=@Create
color=all_skin_colors
FENCING={15.0 38.0}
PARRYING={15.0 38.0}
swordsmanship={15.0 38.0}
wrestling={15.0 38.0}
macefighting={15.0 38.0}
MAGICRESISTANCE={15.0 38.0}
tactics={15.0 38.0}
NPC=brain_human
CATEGORY=Civilized
SUBSECTIOn=Races
DESCRIPTIOn=Elf female
[CHARDEF 04204]
DEFNAME=c_orc_male
//Orc male
Name=Orc male
ID=C_MAN
RESOURCES=i_flesh_head, i_flesh_torso, i_flesh_right_arm, i_flesh_left_arm, i_flesh_left_leg, i_flesh_right_leg, i_blood_2
FOODTYPE=15 t_food, t_fruit
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff
SHELTER=r_house
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP|MT_MALE
ICOn=02106
TSPEECH=spk_human_prime
TSPEECH=spk_human_default
TEVENTS=e_Human_HearUnk
On=@Create
color=all_skin_colors
FENCING={15.0 38.0}
PARRYING={15.0 38.0}
swordsmanship={15.0 38.0}
wrestling={15.0 38.0}
macefighting={15.0 38.0}
MAGICRESISTANCE={15.0 38.0}
tactics={15.0 38.0}
NPC=brain_human
CATEGORY=Civilized
SUBSECTIOn=Races
DESCRIPTIOn=Orc male
[CHARDEF 04205]
DEFNAME=c_orc_female
//Orc female
NAME=Orc female
ID=0191
RESOURCES=i_flesh_head, i_flesh_torso, i_flesh_right_arm, i_flesh_left_arm, i_flesh_left_leg, i_flesh_right_leg, i_blood_2
FOODTYPE=15 t_food, t_fruit
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff
SHELTER=r_house
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP|MT_FEMALE
ICOn=02107
TSPEECH=spk_human_prime
TSPEECH=spk_human_default
TEVENTS=e_Human_HearUnk
On=@Create
color=all_skin_colors
FENCING={15.0 38.0}
PARRYING={15.0 38.0}
swordsmanship={15.0 38.0}
wrestling={15.0 38.0}
macefighting={15.0 38.0}
MAGICRESISTANCE={15.0 38.0}
tactics={15.0 38.0}
NPC=brain_human
CATEGORY=Civilized
SUBSECTIOn=Races
DESCRIPTIOn=Orc female
[CHARDEF 04210]
//Blood God guard
NAME=Blood God guard
ATT=10,20
DEF=30
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP
ICOn=02107
TSPEECH=spk_human_prime
TSPEECH=jobMageEvil
TSPEECH=spk_needs
TSPEECH=spk_rehello
TSPEECH=spk_human_default
On=@Create
plot1=0100
color=038a
STR={200 200}
DEX={150 150}
INT={100 100}
PARRYING={95.0 105.0}
swordsmanship={95.0 105.0}
wrestling={67.0 90.0}
MAGICRESISTANCE={95.0 105.0}
tactics={95.0 105.0}
POISONING={90.0 100.0}
DETECTINGHIDDEN={90.0 100.0}
NPC=brain_monster
fame=5000
karma=-9999
ITEM=cape
color=055d
ITEM=VAMP_BONE_GLOVES
ITEM=VAMP_BONE_HELM
ITEM=VAMP_BONE_ARMS
ITEM=VAMP_BONE_GORGET
ITEM=VAMP_BONE_CHEST
ITEM=VAMP_BONE_LEGS
ITEM=BLOOD_CLAW
ITEM=VAMPIRE_SHIELD
ITEM=VAMPIRE_SHROUD
CATEGORY=Special NPC
SUBSECTIOn=Races
DESCRIPTIOn=Blood God guard
[CHARDEF 04211]
//Blood God special guard
NAME=Blood God special guard
ATT=10,20
DEF=30
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP
ICOn=02107
TSPEECH=spk_human_prime
TSPEECH=jobMageEvil
TSPEECH=spk_needs
TSPEECH=spk_rehello
TSPEECH=spk_human_default
On=@Create
color=038a
plot1=0100
STR={225 225}
DEX={150 150}
INT={150 150}
PARRYING={95.0 105.0}
swordsmanship={105.0 115.0}
wrestling={67.0 90.0}
MAGICRESISTANCE={95.0 105.0}
tactics={105.0 115.0}
POISONING={90.0 100.0}
DETECTINGHIDDEN={90.0 100.0}
NPC=brain_monster
fame=5000
karma=-9999
ITEM=cape
color=0617
ITEM=VAMP_KNIGHT_GLOVES
ITEM=VAMP_KNIGHT_HELM
ITEM=VAMP_KNIGHT_ARMS
ITEM=VAMP_KNIGHT_GORGET
ITEM=VAMP_KNIGHT_CHEST
ITEM=VAMP_KNIGHT_LEGS
ITEM=BLOOD_CLAW
ITEM=KNIGHT_SHIELD
ITEM=KNIGHT_SHROUD
CATEGORY=Special NPC
SUBSECTIOn=Races
DESCRIPTIOn=Blood God special guard
[CHARDEF 04212]
//Blood God elite guard
NAME=Blood God elite guard
ATT=10,20
DEF=30
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP
ICOn=02107
TSPEECH=spk_human_prime
TSPEECH=jobMageEvil
TSPEECH=spk_needs
TSPEECH=spk_rehello
TSPEECH=spk_human_default
On=@Create
color=038a
plot1=0100
STR={250 250}
DEX={150 150}
INT={200 200}
PARRYING={95.0 105.0}
swordsmanship={105.0 115.0}
wrestling={67.0 90.0}
MAGICRESISTANCE={95.0 105.0}
tactics={105.0 115.0}
POISONING={90.0 100.0}
DETECTINGHIDDEN={90.0 100.0}
NPC=brain_monster
fame=5000
karma=-9999
ITEM=cape
color=00a11
ITEM=NOSFERATU_GLOVES
ITEM=NOSFERATU_HELM
ITEM=NOSFERATU_ARMS
ITEM=NOSFERATU_GORGET
ITEM=NOSFERATU_CHEST
ITEM=NOSFERATU_LEGS
ITEM=BLOOD_CLAW
ITEM=NOSFERATU_SHIELD
ITEM=NOSFERATU_SHROUD
CATEGORY=Special NPC
SUBSECTIOn=Races
DESCRIPTIOn=Blood God elite guard
[CHARDEF c_vampire_male]
DEFNAME=c_vampire_male
Name=Vampire male
ID=C_MAN
RESOURCES=i_flesh_head, i_flesh_torso, i_flesh_right_arm, i_flesh_left_arm, i_flesh_left_leg, i_flesh_right_leg, i_blood_2
FOODTYPE=15 t_food, t_fruit
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff
SHELTER=r_house
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP|MT_MALE
ICOn=02106
TSPEECH=spk_human_prime
TSPEECH=spk_human_default
TEVENTS=e_Human_HearUnk
On=@Create
color=all_skin_colors
FENCING={15.0 38.0}
PARRYING={15.0 38.0}
swordsmanship={15.0 38.0}
wrestling={15.0 38.0}
macefighting={15.0 38.0}
MAGICRESISTANCE={15.0 38.0}
tactics={15.0 38.0}
NPC=brain_human
CATEGORY=Civilized
SUBSECTIOn=Races
DESCRIPTIOn=Vampire male
[CHARDEF c_vampire_female]
DEFNAME=c_vampire_female
Name=Vampire male
ID=C_MAN
RESOURCES=i_flesh_head, i_flesh_torso, i_flesh_right_arm, i_flesh_left_arm, i_flesh_left_leg, i_flesh_right_leg, i_blood_2
FOODTYPE=15 t_food, t_fruit
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff
SHELTER=r_house
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP|MT_FEMALE
ICOn=02106
TSPEECH=spk_human_prime
TSPEECH=spk_human_default
TEVENTS=e_Human_HearUnk
On=@Create
color=all_skin_colors
FENCING={15.0 38.0}
PARRYING={15.0 38.0}
swordsmanship={15.0 38.0}
wrestling={15.0 38.0}
macefighting={15.0 38.0}
MAGICRESISTANCE={15.0 38.0}
tactics={15.0 38.0}
NPC=brain_human
CATEGORY=Civilized
SUBSECTIOn=Races
DESCRIPTIOn=Vampire female
[CHARDEF c_paladin_male]
DEFNAME=c_paaldin_male
Name=Paladin male
ID=C_MAN
RESOURCES=i_flesh_head, i_flesh_torso, i_flesh_right_arm, i_flesh_left_arm, i_flesh_left_leg, i_flesh_right_leg, i_blood_2
FOODTYPE=15 t_food, t_fruit
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff
SHELTER=r_house
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP|MT_MALE
ICOn=02106
TSPEECH=spk_human_prime
TSPEECH=spk_human_default
TEVENTS=e_Human_HearUnk
On=@Create
color=all_skin_colors
FENCING={15.0 38.0}
PARRYING={15.0 38.0}
swordsmanship={15.0 38.0}
wrestling={15.0 38.0}
macefighting={15.0 38.0}
MAGICRESISTANCE={15.0 38.0}
tactics={15.0 38.0}
NPC=brain_human
CATEGORY=Civilized
SUBSECTIOn=Races
DESCRIPTIOn=Paladin male
[CHARDEF c_paladin_female]
DEFNAME=c_paladin_female
Name=Paladin female
ID=C_MAN
RESOURCES=i_flesh_head, i_flesh_torso, i_flesh_right_arm, i_flesh_left_arm, i_flesh_left_leg, i_flesh_right_leg, i_blood_2
FOODTYPE=15 t_food, t_fruit
DESIRES=i_gold,e_notoriety
AVERSIONS=t_TRAP,t_eerie_stuff
SHELTER=r_house
CAN=MT_WALK|MT_RUN|MT_USEHANDS|MT_EQUIP|MT_FEMALE
ICOn=02106
TSPEECH=spk_human_prime
TSPEECH=spk_human_default
TEVENTS=e_Human_HearUnk
On=@Create
color=all_skin_colors
FENCING={15.0 38.0}
PARRYING={15.0 38.0}
swordsmanship={15.0 38.0}
wrestling={15.0 38.0}
macefighting={15.0 38.0}
MAGICRESISTANCE={15.0 38.0}
tactics={15.0 38.0}
NPC=brain_human
CATEGORY=Civilized
SUBSECTIOn=Races
DESCRIPTIOn=Paladin female
[plotITEM 1] // Plot1=02, Dwarf
on=@spelleffecT
IF ((<argn>=18) || (<argn>=28) || (<argn>=43) || (<argn>=51) || (<argn>=55) || (<argn>=69))
RETURN 1
On=@Dclick
if <TYPE>==t_scroll
if (<ID>!=01f4c)
SAY You can't read this scroll.
return 1
endif
endif
On=@Equip
if (<type>==t_weapon_bow) || (<type>==t_weapon_xbow)
if <baseid>!=DWARF_MYTHERIL_CROSSBOW
src.message You cannot use this weapon, Dwarf!
unequip
return 1
endif
endif
On=@Unequip
if (<TYPE>==t_weapon_bow) || (<TYPE>==t_weapon_xbow)
if <BASEID>!=DWARF_MYTHERIL_CROSSBOW
if (<attr> & attr_cursed) && (<morex>==27)
src.sysmessage Cused magic!
src.str = (<src.str> - ((<morey> + 191) / 40))
src.dex = (<src.dex> - ((<morey> +191) / 40))
src.int = (<src.int> - ((<morey> + 191) / 40))
endif
return 1
endif
endif
[plotITEM 2] // Plot1=04, Elf
On=@Equip
if <TYPE>==t_weapon_mace_smith
if <baseid>!=i_hammer_smith
src.message Elf cannot equip maces of any sort.
unequip
return 1
endif
endif
On=@Unequip
if (<type>==t_weapon_mace_smith) && (<baseid>!=i_hammer_smith)
if (<attr> & attr_cursed) && (<morex>==27)
src.sysmessage Cused magic!
src.str = (<src.str> - ((<morey> + 191) / 40))
src.dex = (<src.dex> - ((<morey> +191) / 40))
src.int = (<src.int> - ((<morey> + 191) / 40))
endif
return 1
endif
[plotITEM 3] // plot1=08, Orc
On=@Dclick
if (<type>==t_scroll)
if (<ID>>01f5c)
SAY You can't read this scroll.
return 1
endif
endif
return 0
[plotITEM 4] // Plot1=010
return 0
[plotITEM 5] // Plot1=020
return 0
[plotITEM 6] // Plot1=040
return 0
[plotITEM 7] // plot1=080, Paladin
//######################################################################
// Vampire plot trigger
// Vampires can't drink yellow potions and wear silver armor and cloth.
//######################################################################
[plotITEM 8] // Plot1=100, Vampire
On=@Equip
if (<color>==color_o_silver)
src.message You touch the holy silver!
src.damage {5 10}
src.sfx 0df
src.spelleffect s_poison 1000
unequip
return 1
else
return 0
endif
On=@Unequip
if (<color>==color_o_silver)
if (<attr> & attr_cursed) && (<morex>==27)
src.sysmessage Cused magic!
src.str = (<src.str> - ((<morey> + 191) / 40))
src.dex = (<src.dex> - ((<morey> +191) / 40))
src.int = (<src.int> - ((<morey> + 191) / 40))
endif
return 1
endif
On=@Dclick
if (<color>==color_o_silver)
src.message You touch the holy silver!
src.sfx 0df
return 1
endif
if (<id>==0f0c) //Yellow potion
src.message You are sick! Vampire can't drink THIS.
return 1
endif
return 0
On=@Click
if (<COLOR>==color_o_silver)
src.message You touch the holy silver!
src.sfx 0df
return 1
endif
[DEFNAME race_colors]
colors_skin_dwarf { 443 1 1509 1 1517 1 1518 1 { 1524 1527 } 1 }
colors_skin_elf { { 2001 2004 } 1 { 1401 1405 } 1 }
colors_skin_orc { { 1705 1709 } 1 { 1713 1727 } 1 }
colors_skin_vampire {038a 1}
colors_skin_paladin { 543 0461 0762 5623}
//########################
// Race morphing triggers
//########################
[TYPEDEF t_morpher_dwarf]
DEFNAME=t_morpher_dwarf
On=@DClick
src.spelleffect s_dispel 1000
if <src.plot1> & plotmask_dwarf
src.hits = <src.str>
src.mana = <src.int>
src.stamina = <src.dex>
if (<src.obody> != c_dwarf_male) && (<src.obody> != c_dwarf_female)
if <src.body>==c_woman
src.obody = c_dwarf_female
src.body = c_dwarf_female
else
src.obody = c_dwarf_male
src.body = c_dwarf_male
endif
endif
if <src.flags> & statf_dead
src.flags = <src.flags> & ~(statf_dead | statf_insubstantial)
src.body = <src.obody>
src.sfx snd_spell_resurrection
src.consume 1 i_deathshroud
endif
src.message You feel yourself more skilfull.
src.sfx 02a
if <src.skillclass>==class_undeclared
src.f_skillclass_set
endif
src.oskin = colors_skin_dwarf
src.color = <src.oskin>
elseif <src.plot1> & plotmask_orc
src.message Get off, monster!
src.damage={50 100}
src.sfx 0166
if <src.skillclass>==class_undeclared
src.f_skillclass_set
endif
elseif <src.plot1> & plotmask_elf
src.message How did you come here, Elf? Please, come out.
src.sfx 0231
if <src.skillclass>==class_undeclared
src.f_skillclass_set
endif
else // Morfing
if (<src.body>==c_man)
src.obody=c_dwarf_male
src.body=c_dwarf_male
elseif (<src.body>==c_ghost_man)
src.obody=c_dwaf_male
elseif (<src.body>==c_woman)
src.obody=c_dwarf_female
src.body=c_dwarf_female
elseif (<src.body>==c_ghost_woman)
src.obody=c_dwarf_female
endif
src.plot1 = (<src.plot1> | plotmask_dwarf)
src.color = colors_skin_dwarf
src.oskin = <src.color>
src.message Now you are Dwarf!
src.sfx 02a
endif
src.f_skillclass_set
return 1
[TYPEDEF t_morpher_elf]
DEFNAME=t_morpher_elf
On=@Step
if <src.brain>
return 0
endif
src.spelleffect s_dispel 1000
if <src.plot1> & plotmask_elf
src.hits = <src.str>
src.mana = <src.int>
src.stamina = <src.dex>
if (<src.obody> != c_elf_male) && (<src.obody> != c_elf_female)
if <src.body>==c_woman
src.obody = c_elf_female
src.body = c_elf_female
else
src.obody = c_elf_male
src.body = c_elf_male
endif
endif
if <src.flags> & statf_dead
src.flags = <src.flags> & ~(statf_dead | statf_insubstantial)
src.body = <src.obody>
src.sfx snd_spell_resurrection
src.consume 1 i_deathshroud
endif
if <src.skillclass>==class_undeclared
src.f_skillclass_set
endif
src.oskin = colors_skin_elf
src.color = <src.oskin>
src.message Welcome, brother.
src.sfx 08f
elseif <src.plot1> & plotmask_orc
src.message Die, evil!
src.sfx 028
src.kill
src.message Die!
elseif <src.plot1> & plotmask_dwarf
src.message Get out, master of dungeons!
src.sfx 0245
else // Morfing
if (<src.flags>&0400) // Unpolymorf
src.spelleffect dispel 1000
endif
if (<src.body>==c_man)
src.obody=c_elf_male
src.body=c_elf_male
elseif (<src.body>==c_ghost_man)
src.obody==c_elf_male
elseif (<src.body>==c_woman)
src.obody=c_elf_female
src.body=c_elf_female
elseif (<src.body>==c_ghost_woman)
src.obody=c_elf_female
endif
src.plot1 = (<src.plot1> | plotmask_elf)
src.color = colors_skin_elf
src.oskin = <src.color>
src.message Welcome to the Elven brotherhood!
src.sfx 0216
endif
src.f_skillclass_set
src.p = <morep>
// src.update
return 0
[TYPEDEF t_morpher_orc]
DEFNAME=t_morpher_orc
On=@Dclick
src.spelleffect s_dispel 1000
if (<src.plot1> & plotmask_dwarf)
src.message Eah! Eah! Eah! Feel the pain you stuped Dwarf!
src.damage={10 20}
src.sfx 019c
elseif (<src.plot1> & plotmask_elf)
src.message Urgh! Urgh! Urgh! Fall and dizz you weakness!
src.damage={20 40}
src.sfx 0e6
elseif (<src.plot1> & plotmask_orc)
src.hits = <src.str>
src.mana = <src.int>
src.stamina = <src.dex>
if (<src.obody> != c_orc_male) && (<src.obody> != c_orc_female)
if <src.body>==c_woman
src.obody = c_orc_female
src.body = c_orc_female
else
src.obody = c_orc_male
src.body = c_orc_male
endif
endif
if <src.flags> & statf_dead
src.flags = <src.flags> & ~(statf_dead | statf_insubstantial)
src.body = <src.obody>
src.sfx snd_spell_resurrection
src.consume 1 i_deathshroud
endif
if <src.skillclass>==class_undeclared
src.f_skillclass_set
endif
src.color = colors_skin_orc
src.oskin = <src.color>
src.message Aaagh! Welcome my dirty falk!
src.sfx 0246
else // Morfing
if (<src.body>==c_man)
src.obody = c_orc_male
src.body = c_orc_male
elseif (<src.body>==c_ghost_man)
src.obody==c_orc_male
elseif (<src.body>==c_woman)
src.obody = c_orc_female
src.body = c_orc_female
elseif (<src.body>==c_ghost_woman)
src.obody = c_orc_female
endif
src.plot1 = (<src.plot1> | plotmask_orc)
src.oskin = colors_skin_orc
src.color = colors_skin_orc
src.message Muhahagh! Hallo, dirty Orc! That will be fun!
src.sfx 01b0
endif
src.f_skillclass_set
// src.update
return 1
//###############################################################
// 11.11.2000 Blood God dungeon triggers
// Entrance trigger:
// link = Serial of Exit trigger
// moreP = Coordinates of start point in the BG dungeon
// Exit trigger:
// link = Serial of support item
// more2 = Serial of spawned NPC, if it presists
// Support item:
// moreP = Cooridnates of points to teleport on exit
//###############################################################
[TYPEDEF 2010] // Entrance trigger
On=@Step
if <src.NPC>
// Not a player.
return 1
endif
if <link>==04fffffff
src.message Trigger damaged.
return 1
endif
if <COLOR>!=0
src.message Gate is closed.
return 1
endif
if <more>==0
more=1
TIMER=10 // Wait for 10 seconds
if <src.plot1>&0100
//Some kind of Vampire
src.SAY Some kind of Vampire:
if <src.fame>>=7500
if <link.more2>==0
src.newnpc 04212
src.act.go <link.moreX>,<link.moreY>,<link.moreZ>
src.act.home <link.moreX>,<link.moreY>,<link.moreZ>
src.act.homedist 5
link.more2=<src.act.SERIAL> // remember the serial of NPC
endif
elseif <src.fame>>=5000
if <link.more2>==0
src.newnpc 04211
src.act.go <link.moreX>,<link.moreY>,<link.moreZ>
src.act.home <link.moreX>,<link.moreY>,<link.moreZ>
src.act.homedist 5
link.more2=<src.act.SERIAL> // remember the serial of NPC
endif
else
if <link.more2>==0
src.newnpc 04210
src.act.go <link.moreX>,<link.moreY>,<link.moreZ>
src.act.home <link.moreX>,<link.moreY>,<link.moreZ>
src.act.homedist 5
link.more2=<src.act.SERIAL> // remember the serial of NPC
endif
endif
src.go <moreX>,<moreY>,<moreZ>
color=0676 // turn off gate
update
elseif <src.plot1>&080
//Paladin
src.SAY Paladin
else
//Nor Vampire or Paladin
// src.SAY Not a Vampire or Paladin
if (<src.weight>!=60)
src.message Competitor must be fully naked! <src.weight>
return 0
endif
if <link.more2>==0
src.newnpc 04210
src.act.go <link.moreX>,<link.moreY>,<link.moreZ>
src.act.home <link.moreX>,<link.moreY>,<link.moreZ>
src.act.homedist 5
link.more2=<src.act.SERIAL> // remember the serial of NPC
endif
src.go <moreX>,<moreY>,<moreZ>
color=0676 // turn off gate
update
endif
endif
return 0
On=@Timer
more=0 //Timer has gone
return 1
[TYPEDEF 2011] //Exit trigger
On=@Step
if <src.NPC>
// Not a player.
return 1
endif
if (<link>==04fffffff) //Not linked
src.message Trigger is damaged! Call GM now!
return 1
endif
link.link.color=0 // turn entrance on
link.link.update
// remove blood god guard, if it presists
more=<link>
link=<more2>
if (<link.id>==04210) || (<link.id>==04211) || (<link.id>==04212)
link.remove
endif
link=<more>
more=0
more2=0 // NPC removed
if <src.plot1>&0100
// vampire come through
if <src.flags>&2
// dead vampire, resurrect him
src.fix
src.RESURRECT
src.fix
// give him a shroud
if <src.fame>>=7500
src.newitem NOSFERATU_SHROUD
elseif <src.fame>>=3500
src.newitem KNIGHT_SHROUD
else
src.newitem VAMPIRE_SHROUD
endif
src.act.attr 04
src.act.bounce
else
// live vampire
endif
else
// not a vampire
if <src.flags>&2
// dead
else
// live
if (<src.restest 1 VAMP_BONE_CHEST> && <src.restest 1 VAMP_BONE_LEGS> && <src.restest 1 VAMP_BONE_GLOVES> && <src.restest 1 VAMP_BONE_GORGET> && <src.restest 1 BLOOD_CLAW> && <src.restest 1 VAMP_BONE_HELM> )
src.plot1=(<src.plot1>|plotmask_vampire)
src.message Welcome to the Brotherhood of Blood!
src.newitem VAMPIRE_ROBE
src.act.bounce
src.newitem VAMPIRE_SHROUD
src.act.attr 04
src.act.bounce
else
src.fix
src.KILL
src.fix
endif
endif
endif
src.go <link.moreX>,<link.moreY>,<link.moreZ>
return 0