• 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!

Spell Whirlwind Throw

sn3ejk

This account is inactive.
Joined
Nov 16, 2011
Messages
2,121
Solutions
1
Reaction score
145
Spells
Whirlwind Throw

_____


Player tosses sword, dealing physical damage on impact that increases depending on the distance between him and the target.

MJqsk.gif


  • Damage
    Damage is random number between 142 to 214 multiply count of squares to target.
    _
  • Range
    Range is equal 7 squares.

XML:
	<instant name="Whirlwind Toss" words="exori mas hur" lvl="15" mana="40" prem="1" range="5" needtarget="0" blockwalls="1" needweapon="1" exhaustion="2000" needlearn="0" event="script" value="attack/whirlwind toss.lua">
		<vocation id="4"/>
		<vocation id="8"/>
	</instant>
Lua:
function onCastSpell(cid, var)
	for i = 1, 7 do
		local creature = getTopCreature(getPositionByDirection(getCreaturePosition(cid), getCreatureLookDirection(cid), i))
		if (creature.uid > 0) then
			doSendDistanceShoot(getCreaturePosition(cid), getCreaturePosition(creature.uid), CONST_ANI_WHIRLWINDSWORD)
			doTargetCombatHealth(cid, creature.uid, COMBAT_PHYSICALDAMAGE, -142 * i, -214 * i, CONST_ME_NONE)
			return true
		end
	end
	doSendDistanceShoot(getCreaturePosition(cid), getPositionByDirection(getCreaturePosition(cid), getCreatureLookDirection(cid), 7), CONST_ANI_WHIRLWINDSWORD)
	return true
end
 
Nice one, I realy like this one!
May I use it on my ot? And it work on 8.6?
rep ofc.
 
Nice one, I realy like this one!
May I use it on my ot? And it work on 8.6?
rep ofc.
Yes, of course. Yes, it works for 8.6.
 
Refresh. Any ideas for changes/updates?
 
try make a spell
-gives 18% better skill on distance
- and throws 3 assassin stars
 
Back
Top