• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

otx based on tfs 0.3.6 exevo pan no have exausted

albertelrei

Old Player Synce 2007 Guia3d Old staff
Joined
Aug 25, 2009
Messages
27
Reaction score
0
My spell exevo pan dont have any exausted....



This a spell

  1. <conjure name="Food" words="exevo pan" needlearn="0" maglv="0" soul="0" mana="30" selftarget="1" aggressive="0" script="support/conjure food.lua">
  2. <vocation name="Druid"/> <vocation name="Elder Druid"/>
  3. <vocation name="Paladin"/> <vocation name="Royal Paladin"/>
and this a conjure speed.lua


  1. local FOODS = {
  2. ITEM_FOOD_MEAT,
  3. ITEM_FOOD_HAM,
  4. ITEM_FOOD_GRAPE,
  5. ITEM_FOOD_APLE,
  6. ITEM_FOOD_BREAD,
  7. ITEM_FOOD_ROOL,
  8. ITEM_FOOD_CHEESE
  9. }

  10. function onCastSpell(cid, var)
  11. local size = table.maxn(FOODS)
  12. if(not doPlayerAddItem(cid, FOODS[math.random(1, size)])) then
  13. doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
  14. doSendMagicEffect(getThingPosition(cid), CONST_ME_POFF)
  15. return false
  16. end

  17. if(math.random(1, 100) > 50) then
  18. doPlayerAddItem(cid, FOODS[math.random(1, size)])
  19. end

  20. doSendMagicEffect(getThingPosition(cid), CONST_ME_MAGIC_GREEN)
  21. return true
  22. end

 
<conjure name="Food" words="exevo pan" lvl="14" mana="120" soul="1" exhaustion="1000" needlearn="0" event="function" value="conjureFood">
<vocation id="2"/>
<vocation id="3"/>
<vocation id="6"/>
<vocation id="7"/>
</conjure>
 
<conjure name="Food" words="exevo pan" lvl="14" mana="120" soul="1" exhaustion="1000" needlearn="0" event="function" value="conjureFood">
<vocation id="2"/>
<vocation id="3"/>
<vocation id="6"/>
<vocation id="7"/>
</conjure>


my spell does not waste mana :/
because it can be?
 
Back
Top