<item id="2157" article="a" name="gold nugget" plural="gold nuggets">
<attribute key="weight" value="10"/>
<attribute key="worth" value="10000"/>
function onSay(cid, words, param)
if doPlayerRemoveMoney(cid, 10000) == TRUE then
doPlayerAddItem(cid, 2173, 1)
doSendMagicEffect(getPlayerPosition(cid), 31)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,'There You Go!')
else
doPlayerSendCancel(cid, "You need 1 crystal coin to buy a Amulet Of Loss!")
end
return TRUE
end
2010 14:17:01] [Warning - Monsters::loadMonster] Unknown attribute type - defense. (data/monster/Monks/Training Monk.xml)
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0">
<health now="240000000" max="2400000000"/>
<look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/>
<targetchange interval="60000" chance="0"/>
<strategy attack="0" 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 staticattack="50"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="0"/>
</attacks>
<defense name="healing" interval="1000" chance="240000000" min="240000000" max="240000000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<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="1"/>
</immunities>
<voices interval="2000" chance="5">
</voices>
<loot>
<item id="2148" countmax="20" chance1="100000" chancemax="0"/>
<item id="1949" chance="10000"/>
<item id="2467" chance="10000"/>
<item id="2642" chance="6666"/>
<item id="1987" chance="100000">
<inside>
<item id="2044" chance="6666"/>
<item id="2689" countmax="3" chance1="20000" chancemax="0"/>
<item id="2401" chance="3333"/>
<item id="2166" chance="1428"/>
</inside>
</item>
</loot>
</monster>
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0">
<health now="2400000" max="2400000"/>
<look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/>
<targetchange interval="60000" chance="0"/>
<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 staticattack="50"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" attack="1" skill="60"/>
</attacks>
<defenses armor="0" defense="0">
<defense name="healing" interval="10000" chance="100" min="400000" max="400000"/>
</defenses>
<immunities>
<immunity invisible="1"/>
</immunities>
</monster>
[15/10/2010 14:37:28] [Error - GlobalEvent Interface]
[15/10/2010 14:37:28] data/globalevents/scripts/shop.luanThink
[15/10/2010 14:37:28] Description:
[15/10/2010 14:37:28] (luaDoPlayerAddItemEx) Item not found
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0">
<health now="2400000" max="2400000"/>
<look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/>
<targetchange interval="60000" chance="0"/>
<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 staticattack="50"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" attack="1" skill="60"/>
</attacks>
<defenses armor="0" defense="0">
<defense name="healing" interval="100" chance="100" min="400000" max="400000"/>
</defenses>
<immunities>
<immunity invisible="1"/>
</immunities>
</monster>
is there a command that reset all account to lvl 10 and random mana and health?