Skip to content

Commit

Permalink
monsters and stack fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MillhioreBT committed May 26, 2023
1 parent d5e8739 commit 1a7225b
Show file tree
Hide file tree
Showing 381 changed files with 21,424 additions and 582 deletions.
5 changes: 2 additions & 3 deletions config.lua.dist
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ allowChangeOutfit = true
freePremium = false
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
emoteSpells = true
classicEquipmentSlots = true
classicAttackSpeed = false
showScriptsLogInConsole = false
showOnlineStatusInCharlist = false
Expand All @@ -95,7 +95,6 @@ minimumLevelToSendPrivate = 1
premiumToSendPrivate = false
forceMonsterTypesOnLoad = true
cleanProtectionZones = false
luaItemDesc = false
showPlayerLogInConsole = true
healthGainColour = 95
manaGainColour = 5
Expand Down
376 changes: 366 additions & 10 deletions data/monster/monsters.xml

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions data/monster/monsters/achad.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Achad" nameDescription="Achad" race="blood" experience="70" speed="185">
<health now="185" max="185" />
<look type="146" head="76" body="93" legs="38" feet="97" addons="3" corpse="7349" />
<flags>
<flag summonable="0" />
<flag attackable="1" />
<flag hostile="1" />
<flag illusionable="0" />
<flag convinceable="0" />
<flag pushable="0" />
<flag canpushitems="1" />
<flag targetdistance="1" />
<flag runonhealth="55" />
<flag canwalkonenergy="0" />
<flag canwalkonfire="0" />
<flag canwalkonpoison="0" />
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-80" />
</attacks>
<defenses armor="20" defense="19" />
<elements>
<element firePercent="10" />
</elements>
<immunities>
<immunity outfit="1" />
<immunity drunk="1" />
<immunity invisible="1" />
</immunities>
<voices interval="5000" chance="10">
<voice sentence="You won't pass me." />
<voice sentence="I have travelled far to fight here." />
</voices>
</monster>
47 changes: 47 additions & 0 deletions data/monster/monsters/acid_blob.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Acid Blob" nameDescription="an acid blob" race="venom" experience="250" speed="180" raceId="513">
<health now="250" max="250" />
<look type="314" corpse="9962" />
<targetchange interval="5000" chance="0" />
<flags>
<flag summonable="0" />
<flag attackable="1" />
<flag hostile="1" />
<flag illusionable="0" />
<flag convinceable="0" />
<flag pushable="0" />
<flag canpushitems="1" />
<flag canpushcreatures="0" />
<flag targetdistance="1" />
<flag staticattack="85" />
<flag runonhealth="0" />
<flag canwalkonenergy="0" />
<flag canwalkonfire="0" />
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-80" />
<attack name="earth" interval="2000" target="0" chance="30" radius="4" min="-10" max="-20">
<attribute key="areaEffect" value="greenspark" />
</attack>
<attack name="earth" interval="2000" chance="15" length="5" spread="0" min="-40" max="-60">
<attribute key="areaEffect" value="greenbubble" />
</attack>
<attack name="earth" interval="2000" chance="10" range="7" target="1">
<attribute key="shootEffect" value="poison" />
</attack>
</attacks>
<defenses armor="15" defense="15" />
<immunities>
<immunity death="1" />
<immunity earth="1" />
</immunities>
<summons maxSummons="3">
<summon name="Acid Blob" interval="2000" chance="10" />
</summons>
<voices interval="5000" chance="10">
<voice sentence="Kzzchhh!" />
</voices>
<loot>
<item name="glob of acid slime" chance="14285" />
</loot>
</monster>
72 changes: 72 additions & 0 deletions data/monster/monsters/acolyte_of_the_cult.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Acolyte of the Cult" nameDescription="an acolyte of the cult" race="blood" experience="300" speed="200" raceId="253">
<health now="390" max="390" />
<look type="194" head="95" body="100" legs="100" feet="19" corpse="20319" />
<targetchange interval="4000" chance="10" />
<flags>
<flag summonable="0" />
<flag attackable="1" />
<flag hostile="1" />
<flag illusionable="0" />
<flag convinceable="0" />
<flag pushable="0" />
<flag canpushitems="1" />
<flag canpushcreatures="0" />
<flag staticattack="90" />
<flag targetdistance="4" />
<flag runonhealth="0" />
<flag canwalkonenergy="0" />
<flag canwalkonfire="0" />
<flag canwalkonpoison="0" />
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-100" poison="2" />
<attack name="lifedrain" interval="2000" chance="20" range="7" radius="1" target="1" min="-60" max="-120">
<attribute key="shootEffect" value="poison" />
<attribute key="areaEffect" value="redshimmer" />
</attack>
<attack name="drunk" interval="2000" chance="5" range="7" radius="1" target="1" duration="3000">
<attribute key="shootEffect" value="holy" />
<attribute key="areaEffect" value="holydamage" />
</attack>
</attacks>
<defenses armor="15" defense="15">
<defense name="healing" interval="2000" chance="15" min="40" max="60">
<attribute key="areaEffect" value="blueshimmer" />
</defense>
</defenses>
<elements>
<element holyPercent="20" />
<element earthPercent="20" />
<element icePercent="20" />
<element physicalPercent="-10" />
<element energyPercent="-10" />
<element deathPercent="-5" />
</elements>
<immunities>
<immunity invisible="1" />
</immunities>
<summons maxSummons="1">
<summon name="Skeleton" interval="2000" chance="10" />
</summons>
<voices interval="5000" chance="10">
<voice sentence="Praise the voodoo!" />
<voice sentence="Power to the cult!" />
<voice sentence="Feel the power of the cult!" />
</voices>
<loot>
<item id="1962" chance="730" /><!-- orange book -->
<item name="gold coin" countmax="40" chance="66940" />
<item name="small emerald" chance="550" />
<item name="life ring" chance="560" />
<item name="terra rod" chance="250" />
<item name="dragon necklace" chance="1050" />
<item name="morning star" chance="4990" />
<item name="pirate voodoo doll" chance="1060" />
<item id="6088" chance="480" /><!-- music sheet 2nd verse -->
<item name="cultish robe" chance="8070" />
<item name="cultish symbol" chance="40" />
<item name="rope belt" chance="10420" />
<item name="broken key ring" chance="60" />
</loot>
</monster>
77 changes: 77 additions & 0 deletions data/monster/monsters/adept_of_the_cult.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Adept of the Cult" nameDescription="an adept of the cult" race="blood" experience="400" speed="215" raceId="254">
<health now="430" max="430" />
<look type="194" head="95" body="94" legs="94" feet="19" corpse="20311" />
<targetchange interval="4000" chance="10" />
<flags>
<flag summonable="0" />
<flag attackable="1" />
<flag hostile="1" />
<flag illusionable="0" />
<flag convinceable="0" />
<flag pushable="0" />
<flag canpushitems="1" />
<flag canpushcreatures="0" />
<flag staticattack="90" />
<flag targetdistance="4" />
<flag runonhealth="0" />
<flag canwalkonenergy="0" />
<flag canwalkonfire="0" />
<flag canwalkonpoison="0" />
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-90" poison="2" />
<attack name="lifedrain" interval="2000" chance="20" range="7" target="1" min="-70" max="-150">
<attribute key="shootEffect" value="poison" />
<attribute key="areaEffect" value="poison" />
</attack>
<attack name="drunk" interval="2000" chance="10" range="7" radius="1" target="1" duration="4000">
<attribute key="shootEffect" value="holy" />
<attribute key="areaEffect" value="holydamage" />
</attack>
</attacks>
<defenses armor="20" defense="20">
<defense name="healing" interval="3000" chance="20" min="45" max="60">
<attribute key="areaEffect" value="blueshimmer" />
</defense>
<defense name="invisible" interval="2000" chance="10" duration="3000">
<attribute key="areaEffect" value="yellowbubble" />
</defense>
</defenses>
<elements>
<element holyPercent="30" />
<element earthPercent="40" />
<element icePercent="20" />
<element energyPercent="-5" />
<element deathPercent="-5" />
</elements>
<immunities>
<immunity invisible="1" />
</immunities>
<summons maxSummons="2">
<summon name="Ghoul" interval="2000" chance="10" />
</summons>
<voices interval="5000" chance="10">
<voice sentence="Feel the power of the cult!" />
<voice sentence="Praise the voodoo!" />
<voice sentence="Power to the cult!" />
</voices>
<loot>
<item id="1962" chance="940" /><!-- orange book -->
<item name="small ruby" chance="320" />
<item name="gold coin" countmax="60" chance="65520" />
<item id="2169" chance="420" /><!-- time ring -->
<item name="silver amulet" chance="1020" />
<item name="hailstorm rod" chance="220" />
<item name="clerical mace" chance="1260" />
<item name="red robe" chance="80" />
<item name="pirate voodoo doll" chance="1730" />
<item id="6089" chance="700" /><!-- music sheet 3rd verse -->
<item name="lunar staff" chance="120" />
<item name="amber staff" chance="680" />
<item name="cultish robe" chance="10080" />
<item name="cultish symbol" chance="90" />
<item name="rope belt" chance="10000" />
<item name="broken key ring" chance="120" />
</loot>
</monster>
50 changes: 50 additions & 0 deletions data/monster/monsters/amazon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Amazon" nameDescription="an amazon" race="blood" experience="60" speed="172" manacost="390" raceId="77">
<health now="110" max="110" />
<look type="137" head="113" body="120" legs="95" feet="115" corpse="20323" />
<targetchange interval="4000" chance="10" />
<flags>
<flag summonable="1" />
<flag attackable="1" />
<flag hostile="1" />
<flag illusionable="1" />
<flag convinceable="1" />
<flag pushable="1" />
<flag canpushitems="1" />
<flag canpushcreatures="0" />
<flag targetdistance="4" />
<flag staticattack="90" />
<flag runonhealth="0" />
<flag canwalkonenergy="0" />
<flag canwalkonfire="0" />
<flag canwalkonpoison="0" />
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-45" />
<attack name="physical" interval="2000" chance="15" range="7" min="0" max="-40">
<attribute key="shootEffect" value="throwingknife" />
</attack>
</attacks>
<defenses armor="10" defense="10" />
<elements>
<element physicalPercent="-5" />
<element deathPercent="-5" />
</elements>
<voices interval="5000" chance="10">
<voice sentence="Yeeee ha!" />
<voice sentence="Your head shall be mine!" />
<voice sentence="Your head will be mine!" />
</voices>
<loot>
<item name="dagger" chance="80000" />
<item id="2229" countmax="2" chance="80000" /><!-- skull -->
<item name="gold coin" countmax="20" chance="40000" />
<item name="brown bread" chance="30333" />
<item name="sabre" chance="23000" />
<item name="girlish hair decoration" chance="10000" />
<item name="protective charm" chance="5000" />
<item id="2050" chance="1005" /><!-- torch -->
<item name="crystal necklace" chance="250" />
<item name="small ruby" chance="120" />
</loot>
</monster>
71 changes: 71 additions & 0 deletions data/monster/monsters/ancient_scarab.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Ancient Scarab" nameDescription="an ancient scarab" race="venom" experience="720" speed="218" raceId="79">
<health now="1000" max="1000" />
<look type="79" corpse="6021" />
<targetchange interval="4000" chance="10" />
<flags>
<flag summonable="0" />
<flag attackable="1" />
<flag hostile="1" />
<flag illusionable="0" />
<flag convinceable="0" />
<flag pushable="0" />
<flag canpushitems="1" />
<flag canpushcreatures="1" />
<flag targetdistance="1" />
<flag staticattack="80" />
<flag runonhealth="0" />
<flag canwalkonenergy="0" />
<flag canwalkonfire="0" />
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-210" poison="56" />
<attack name="earth" interval="2000" chance="20" range="7" min="-15" max="-145">
<attribute key="shootEffect" value="poison" />
<attribute key="areaEffect" value="poison" />
</attack>
<attack name="speed" interval="2000" chance="15" range="7" speedchange="-700" duration="25000">
<attribute key="shootEffect" value="poison" />
<attribute key="areaEffect" value="poison" />
</attack>
<attack name="poisoncondition" interval="2000" chance="30" radius="5" target="0" min="-440" max="-520">
<attribute key="areaEffect" value="poison" />
</attack>
</attacks>
<defenses armor="36" defense="36">
<defense name="speed" interval="2000" chance="15" speedchange="260" duration="5000">
<attribute key="areaEffect" value="redshimmer" />
</defense>
</defenses>
<elements>
<element energyPercent="20" />
<element physicalPercent="10" />
<element firePercent="-20" />
<element icePercent="-5" />
</elements>
<immunities>
<immunity earth="1" />
<immunity paralyze="1" />
<immunity invisible="1" />
</immunities>
<summons maxSummons="3">
<summon name="Larva" interval="2000" chance="10" />
</summons>
<loot>
<item name="gold coin" countmax="100" chance="50000" />
<item name="gold coin" countmax="87" chance="50000" />
<item id="2162" chance="10300" /><!-- magic lightwand -->
<item name="scarab coin" countmax="2" chance="8100" />
<item name="scarab pincers" chance="7140" />
<item name="small emerald" countmax="3" chance="6000" />
<item name="small amethyst" countmax="4" chance="6000" />
<item name="plate armor" chance="5000" />
<item name="scarab amulet" chance="3510" />
<item id="2142" chance="2670" /><!-- ancient amulet -->
<item name="strong health potion" chance="1660" />
<item name="springsprout rod" chance="1000" />
<item name="scarab shield" chance="500" />
<item name="terra hood" chance="400" />
<item name="daramian waraxe" chance="300" />
</loot>
</monster>
Loading

0 comments on commit 1a7225b

Please sign in to comment.