|
- Tibia66 http://www.tibia66.pun.pl/index.php - Skrypty do OTS http://www.tibia66.pun.pl/viewforum.php?id=14 - Sir Valorcrest - Potworek http://www.tibia66.pun.pl/viewtopic.php?id=29 |
| Roflix - 2011-05-23 16:41:45 |
Postanowiłem zrobić pare wątków, w których umieszczone będą potworki, dziękuję Moderatorce Archerka za natchnienie mnie do czegoś takiego. = ) Kod:<?xml version="1.0" encoding="UTF-8"?>
<monster name="Sir Valorcrest" nameDescription="a vampire lord" race="undead" experience="1800" speed="270" manacost="0">
<health now="1600" max="1600"/>
<look type="287" corpse="8937"/>
<targetchange interval="5000" chance="10"/>
<strategy attack="100" defense="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="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="70" attack="95"/>
<attack name="death" interval="1000" chance="12" target="1" radius="4" min="0" max="-190">
<attribute key="areaEffect" value="mortarea"/>
<attribute key="shootEffect" value="suddendeath"/>
</attack>
</attacks>
<defenses armor="38" defense="35">
<defense name="healing" interval="1000" chance="12" min="100" max="235">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="invisible" interval="3000" chance="25" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element phyisicalPercent="20"/>
<element holyPercent="-15"/>
<element firePercent="-10"/>
</elements>
<immunities>
<immunity lifedrain="1"/>
<immunity death="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="I challenge you!"/>
</voices>
<summons maxSummons="4">
<summon name="Vampire" interval="2000" chance="30"/>
</summons>
<loot>
<item id="2148" countmax="93" chance1="100000"/> -- gold coin
<item id="2152" countmax="5" chance1="50000"/> --Platinum
<item id="8978" chance="100000"/> -- Vampire Lord Token
<item id="2216" chance="17111"/> --Ring of healing
<item id="7598" chance="16800"/> --Shp
<item id="2534" chance="6300"/> -- vampire shield
</loot>
</monster>No dobrze.. Zapomniałem dodać, że plik wklejamy do folderu data/monster.. Kiedy już to zrobimy wchodzimy w data/monster/monsters.xml i wklejamy tam to: Kod:<monster name="Sir valorcrest" file="undead humanoids/sir valorcrest.xml"/> |