• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

TFS 1.0 Sharpshooter etc

ATT3

Intermediate OT User
Joined
Sep 22, 2010
Messages
512
Reaction score
100
My utito tempo san doesnt work :s
Code:
local conditionAttrib = createConditionObject(CONDITION_ATTRIBUTES)
local conditionSlow = createConditionObject(CONDITION_HASTE)
local conditionExhaustHeal = createConditionObject(CONDITION_EXHAUST_HEAL)

setConditionParam(conditionAttrib, CONDITION_PARAM_TICKS, 10000)
setConditionParam(conditionAttrib, CONDITION_PARAM_SKILL_DISTANCEPERCENT, 150)
setConditionParam(conditionAttrib, CONDITION_PARAM_BUFF_SPELL, 1)

setConditionParam(conditionSlow, CONDITION_PARAM_TICKS, 10000)
setConditionFormula(conditionSlow, -0.7, 0, -0.7, 0)

setConditionParam(conditionExhaustHeal, CONDITION_PARAM_TICKS, 10000)

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatCondition(combat, conditionAttrib)
setCombatCondition(combat, conditionSlow)
setCombatCondition(combat, conditionExhaustHeal)

function onCastSpell(cid, var)
        if(doCombat(cid, combat, var) == LUA_NO_ERROR) then
                return LUA_NO_ERROR
        end
        return LUA_ERROR
end
I can heal/do haste spells etc, while I have utito tempo san.

shouldn't setConditionParam(conditionExhaustHeal, CONDITION_PARAM_TICKS, 10000)
block healing?
What could be the problem? ;o
I have been trying to google for different utito tempo san scripts, but the same problem comes with every script.
(this one is from github forgottenserver 1.0)


Also the same goes with Utamo tempo san,
I can do offensive spells while I have it.

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local exhaust = createConditionObject(CONDITION_EXHAUST_COMBAT)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, 10000)
setCombatCondition(combat, exhaust)

local condition = createConditionObject(CONDITION_HASTE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 10000)
setConditionFormula(condition, 0.8, -72, 0.8, -72)
setCombatCondition(combat, condition)

local disable = createConditionObject(CONDITION_PACIFIED)
setConditionParam(disable, CONDITION_PARAM_TICKS, 10000)
setCombatCondition(combat, disable)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end
 
you can add:
Code:
    if Player(cid):getCondition(CONDITION_EXHAUST_HEAL) then
        return false
    end
in to exura... etc spells, it works
but I think that is a mistake and must be have any other solution
 
Hey guys, I found kind of a crappy way to fix it so atleast they won't be able to say attack spells and Utito Tempo san at the same time.


Go to spells.xml change the group id of Sharpshooter from "support" to "attack" . Also make the groupcooldown="10000" (10 secs).

--> If someone knows how to add multiple groups to a single spell that would be great. For now they can still heal but atleast they can't do a crazy combo with Sharpshooter and Strong Etheral Spear!
Same process for Utamo Tempo san

Best of luck!
 
Last edited:
HTML:
    <instant group="3" secondarygroup="2" name="Sharpshooter"    words="utito tempo san"        lvl="60"    mana="450"    prem="1" aggressive="0" selftarget="1" exhaustion="2000" groupcooldown="2000" secondarygroupcooldown="10000" spellid="135" needlearn="0" script="support/sharpshooter.lua">
        <vocation name="Paladin"/>
    </instant>
do also with others
use - secondarygroup
and - secondarygroupcooldown
 
Back
Top