Advertisement
poxipox

Untitled

Mar 15th, 2023
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. function onTargetTile6(cid, pos)
  2.  
  3. local attacks = '<a><attack name="physical" interval="1000" chance="100" range="10" min="-400" max="-1000"><attribute key="shootEffect" value="90"/></attack></a>'
  4.  
  5.  
  6. --doCreateCustomMonster({lookType = 10}, name, pos, health, spells, corpse, distance, experience, speed, skulltxt, elementstxt) *110
  7. local creature = doCreateCustomMonster({lookType=getCreatureOutfit(cid).lookType},getCreatureName(cid),getCreaturePosition(cid),(getCreatureHealth(cid)*0.05),attacks,0,1,0,1000, "0", "<a></a>", false, true)
  8. if creature then
  9. doConvinceCreature(cid, creature)
  10. end
  11.  
  12. return TRUE
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement