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

Solved Problem with adding new Attack Rune

DrComet

New Member
Joined
Nov 25, 2014
Messages
63
Reaction score
3
Hello there!

I added a new rune based on Sudden death. Actually, I just copied SD script and changed ID, name, value and added vocation req. It looks like I made all what is needed to do, but the new SD version doesn't work... I can use it in game, and there is not any error in console, but I can use it only on empty sqm. When I'm trying to use it on some target, I'm getting msg: There is not enough room.

I have to add it somewhere yet maybe... Or is it just any bug?

TFS 0.3.6

Best regards,
Dr Comet
 
Script is just the same like SD one, I only changed a name of it

Here is spells.xml:

<rune name="Sudden Sorcerer" id="2272" allowfaruse="1" charges="2" lvl="27" maglv="8" exhaustion="2000" blocktype="all" event="script" value="attack/sudden sorcerer.lua">
<vocation id="1"/>
<vocation id="5"/>
</rune>

(Name just for test if it works, I have much better ideas :P )

Hmm... Do I need to add needtarget="1"? Or something...?
 
Last edited by a moderator:
Code:
<rune name="Sudden Sorcerer" id="2272" allowfaruse="1" charges="2" lvl="27" maglv="8" exhaustion="2000" needtarget="1" blocktype="solid" event="script" value="attack/sudden sorcerer.lua">
     <vocation id="1"/>
     <vocation id="5"/>
</rune>
 
Back
Top