/* 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>
Kolejnym z moich dodanych tutaj potworków jest Exp Bug, który ma 1 HP.. Warto dodać takiego Exp Buga na swojego OTS'a, gdyż osoby, które na przykład chcą kupić LVL zamiast tego kupują Exp Buga = )
Tworzymy plik o nazwie Exp Bug.xml
<?xml version="1.0" encoding="utf-8"?> <monster name="Exp bug" namedescription="an exp bug" race="venom" experience="99999999" speed="240" manacost="250"> <health now="1" max="1"/> <look type="45" head="20" body="30" legs="40" feet="50" corpse="5990"/> <targetchange interval="2000" chance="0"/> <strategy attack="0" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="1"/> <flag pushable="1"/> <flag canpushitems="0"/> <flag canpushcreatures="0"/> <flag targetdistance="1"/> <flag staticattack="90"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="2000" skill="23" attack="9"/> </attacks> <defenses armor="2" defense="3"/> <immunities> <immunity physical="0"/> <immunity energy="0"/> <immunity fire="0"/> <immunity poison="0"/> <immunity lifedrain="0"/> <immunity paralyze="0"/> <immunity outfit="0"/> <immunity drunk="0"/> <immunity invisible="0"/> </immunities> <loot> <item id="3976" countmax="10" chance1="50000" chancemax="0"/> <item id="2148" countmax="4" chance1="100000" chancemax="0"/> <item id="2679" countmax="3" chance1="50000" chancemax="0"/> </loot> </monster>
Po wpisaniu tego tekstu przechodzimy do kolejnej czynności, do wpisania, któtkiego tekstu w data/monster/monsters.xml
<monster name="Exp Bug" file="insects/Exp Bug.xml"/>
Jeżeli macie jakieś problemy, piszcie w komentarzach postaram wam się pomóc = )
Offline