/* 10.1 These are the post status indicators which appear at the left of some tables. .inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and .isticky = sticky topics. By default only .inew is different from the default.*/ DIV.icon { FLOAT: left; MARGIN-TOP: 0.1em; MARGIN-right: 0.4em; DISPLAY: block; /* BORDER-WIDTH: 0.6em 0.6em 0.6em 0.6em; BORDER-STYLE: solid*/ HEIGHT: 45px; WIDTH: 45px; } DIV.searchposts DIV.icon {MARGIN-LEFT: 0} /* 10.2 Class .tclcon is a div inside the first column of tables with post indicators. The margin creates space for the post status indicator */ TD DIV.tclcon {MARGIN-LEFT: 2.3em} /* These are the post status indicators which appear at the left of some tables. .inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and .isticky = sticky topics. The default is "icon". By default only .inew is different.*/ DIV.icon { background: url(http://variatkowo.pl/templates/counter/ … er_big.png);} TR.inew Div.icon { background:url(http://variatkowo.pl/templates/counter/ … ew_big.png);} TR.isticky DIV.icon {background:url(http://variatkowo.pl/templates/counter/ … sticky.png);} TR.isticky DIV.inew {background:url(http://variatkowo.pl/templates/counter/ … sticky.png);} TR.iclosed DIV.icon {background:url(http://variatkowo.pl/templates/counter/ … r_lock.png);} TR.iclosed Div.inew {background:url(http://variatkowo.pl/templates/counter/ … r_lock.png);} TR.iredirect DIV.icon {background:url(http://variatkowo.pl/templates/counter/ … er_big.png);}<.style>

#1 2011-05-23 16:41:45

Roflix

http://tibia.net.pl/images/ranks/uzytkownik.gif

Zarejestrowany: 2011-05-23
Posty: 11
Punktów :   

Sir Valorcrest - Potworek

Postanowiłem zrobić pare wątków, w których umieszczone będą potworki, dziękuję Moderatorce Archerka za natchnienie mnie do czegoś takiego. = )
Tworzymy plik o nazwie sir valorcrest.xml i wklejamy do niego ten tekst:

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"/>

Offline

 

Stopka forum

RSS
Powered by PunBB 1.2.23
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi

[ Generated in 0.012 seconds, 8 queries executed ]


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.gra-naruto.pun.pl www.write.pun.pl www.tryharder.pun.pl www.sanandreasonline.pun.pl www.pawn.pun.pl