• 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 9.31 Spells working for 8.6! [Tested: 3884]

Extrodus

|| Blazera.net ||
Premium User
Joined
Dec 22, 2008
Messages
2,731
Solutions
7
Reaction score
537
Location
Canada
The other 9.31 spells thats posted on here doesnt work on 3884 like he says, the exhaustion he has on it bugs out and after you use the spell once you cant use it anymore. I fixed that, but I didnt set the correct exhaustion rates in spells.xml so thats up to you. But atleast the spells work now, the exhaustion is the standard 2 seconds.

SpeedyShare Download:
updated 8.7 spells.rar - Speedy Share - upload your files here

I basically just had to replace this:
Code:
function onCastSpell(cid, var)
	if getPlayerStorageValue(cid, 3200) <= 0 then
		setPlayerStorageValue(cid, 3200, os.time()+30000)  
		return doCombat(cid, combat, var)
	else
		doPlayerSendCancel(cid, "You are exhausted.")
	end
end

with this:
Code:
function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end

In every script, and now they work properly :)
 
Last edited:
Works 100% for me, did you even try them? I waited like 5 minutes with the other spells, then tried the spell again. I was still exhausted. But with these, I can set the exhaust in spells.xml and it actually works with exhaustion instead of one use. Plus I saw alot of people having problems in that thread, hopefully this fixes some of them. May be a little more work to go through and set the actually exhaustions in spells.xml.. But it works atleast.
 
Yea, there was problems - so I'm just trying to help out by removing some code for anyone who wants to use the spells for 8.6 easily. As far as I've tested, there are no exhaustion problems. :) If they use it then they use it, if they dont, they dont.
 
I'm using this on my 8.54 server.
And it works, only one problem with utura spell.
It heals but you dont see the green thingy how much he heals.
 
Better
Lua:
function onCastSpell(cid, var)
	if exhaustion.get(cid, 14022) == FALSE then
		exhaustion.set(cid, 14022, 600)
		doRemoveCondition(cid, CONDITION_PARALYZE)
		doCombat(cid, combat, var)
		return true
	else
		doPlayerSendCancel(cid, "You are exhausted.")
		doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
		return false		
	end
end
 
You mean the green text over the character that shows healing numbers?
 
Yes sir.

EDIT: Not possible too change i guess
 
Last edited:
Back
Top