• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Spell Wolf Transform

Is it possible to make the person transformed only able to use melee or certain spells?
 
Going to mod this a bit for my use, however I am curious...do you happen to know how one would go about disabling combat during this as well?

I basically removed the timer and created a talkaction "!dismount" in order to use this as a make-shift mount system. However I'd rather people not abuse the fact that they can move extremely fast during this time in order to level or pk.

I'm pretty much just using:
PHP:
function onSay(cid)
	doRemoveCondition(cid, CONDITION_HASTE)
	doRemoveCondition(cid, CONDITION_OUTFIT)
end

As the "!dismount" command. So I'd also like for that to be able to re-enable combat. Sorry for asking, I'm still pretty new to scripting, no idea how I'd go about doing this.
 
Is this possible:
You say the spell name "xxx"
Then you become a wolf and other wolfs ignore you?

Certainly possible, however I believe you'd have to edit the source for that. The same way you'd have too to get monsters to attack each other. Sorry that I don't know how to do it though, good luck figuring it out; It sounds like a really good idea.
 
Certainly possible, however I believe you'd have to edit the source for that. The same way you'd have too to get monsters to attack each other. Sorry that I don't know how to do it though, good luck figuring it out; It sounds like a really good idea.

It's possible :peace:.
 
i get this error i havnt modified it at all any help ?


PHP:
[12/03/2010 13:02:26] [Error - Spell Interface] 
[12/03/2010 13:02:26] data/spells/scripts/support/wolf.lua
[12/03/2010 13:02:26] Description: 
[12/03/2010 13:02:26] attempt to index a number value
[12/03/2010 13:02:26] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/support/wolf.lua)
 
i get this error i havnt modified it at all any help ?


PHP:
[12/03/2010 13:02:26] [Error - Spell Interface] 
[12/03/2010 13:02:26] data/spells/scripts/support/wolf.lua
[12/03/2010 13:02:26] Description: 
[12/03/2010 13:02:26] attempt to index a number value
[12/03/2010 13:02:26] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/support/wolf.lua)

same :S:

PHP:
[14/03/2010 10:20:30] [Error - Spell Interface] 
[14/03/2010 10:20:30] data/spells/scripts/nuevos/wolf.lua
[14/03/2010 10:20:30] Description: 
[14/03/2010 10:20:30] attempt to index a number value
[14/03/2010 10:20:30] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/nuevos/wolf.lua)
 
Last edited:
I need mana and health booster
add 150k mAna (mana booster) and 150k life the. Life booster
only 1 use per char and need lv 30000
 
i get this error i havnt modified it at all any help ?


PHP:
[12/03/2010 13:02:26] [Error - Spell Interface] 
[12/03/2010 13:02:26] data/spells/scripts/support/wolf.lua
[12/03/2010 13:02:26] Description: 
[12/03/2010 13:02:26] attempt to index a number value
[12/03/2010 13:02:26] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/support/wolf.lua)

Try using:
Version:
TFS 0.3.5pl1
 
#p41nwithoutlove & Naister#

In script change this:
Lua:
addOutfitCondition(outfit, wolf.lookTypeEx, wolf.lookType, wolf.lookHead, wolf.lookBody, wolf.lookLegs, wolf.lookFeet)

To:
Lua:
addOutfitCondition(outfit, wolf)

Then script propably will work correct.
 
#p41nwithoutlove & Naister#

In script change this:
Lua:
addOutfitCondition(outfit, wolf.lookTypeEx, wolf.lookType, wolf.lookHead, wolf.lookBody, wolf.lookLegs, wolf.lookFeet)

To:
Lua:
addOutfitCondition(outfit, wolf)

Then script propably will work correct.
Ty men :thumbup:
Rep up :D
 
how can i make it add magic level not shielding?

Replace this
Lua:
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)

To this or paste this under that line
Lua:
setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, 2)

Then it will add 2 magic levels.
 
Back
Top