Darkflame
Polish nerd
easy script they transform you into a wolf and add shielding and make you faster.
version:
tfs 0.3.5pl1
credits:
100% by me ^_^
script:
- data/spells/scripts/wolf.lua
Lua:--[[ spell by shawak wolf transform ]]-- local time = 120 * 1000 -- 120 * 1000 = 2 min local addshielding = 20 -- how much shielding should be added local wolf = {looktype = 52, lookhead = 0, lookbody = 0, looklegs = 0, lookfeet = 0, looktypeex = 0, lookaddons = 0} local combat = createcombatobject() setcombatparam(combat, combat_param_effect, const_me_magic_blue) setcombatparam(combat, combat_param_aggressive, 0) local condition = createconditionobject(condition_attributes) setconditionparam(condition, condition_param_ticks, time) setconditionparam(condition, condition_param_skill_shield, addshielding) setconditionparam(condition, condition_param_buff, true) setcombatcondition(combat, condition) local speed = createconditionobject(condition_haste) setconditionparam(speed, condition_param_ticks, time) setconditionformula(speed, 0.7, -56, 0.7, -56) setcombatcondition(combat, speed) local outfit = createconditionobject(condition_outfit) setconditionparam(outfit, condition_param_ticks, time) addoutfitcondition(outfit, wolf.looktypeex, wolf.looktype, wolf.lookhead, wolf.lookbody, wolf.looklegs, wolf.lookfeet) setcombatcondition(combat, outfit) local exhaust = createconditionobject(condition_exhaust) setconditionparam(exhaust, condition_param_subid, 2) setconditionparam(exhaust, condition_param_ticks, time) setcombatcondition(combat, exhaust) function oncastspell(cid, var) return docombat(cid, combat, var) end
- data/spells/spells.xml
Lua:<instant name="wolf transform" words="utito trans wolf" lvl="40" mana="400" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="wolf.lua"> <vocation name="druid"/> <vocation name="elder druid"/> </instant>
i hope you like it :thumbup:.
edit:
screenshot:
(as requested by bean: here)
regards,
shawak
can anyone please uptade it to the newest tfs verion???