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

[Spell] Increased mlvl/shielding + heal for party

Anoph

New Member
Joined
Mar 20, 2011
Messages
14
Reaction score
0
Hello.

I'd like to make 2 spells for a custom vocation I am working on.

1 spell would work just like "enchant party" on rl Tibia - AOE spell, which increases mlvl of player & party members in range, but also increases their shielding.

tl;dr party aoe spell, increasing mlvl/shielding

2 spell would be something like "exura gran mas res" on rl Tibia but it would heal only player and party members.

tl;dr - party aoe healing spell


I wanted to make them myself, it never worked for me though as I am beginning my adventure with scripts.

Giving rep for attempts to help :)
 
  1. LUA:
    local condition = createConditionObject(CONDITION_ATTRIBUTES)
    setConditionParam(condition, CONDITION_PARAM_SUBID, 4)
    setConditionParam(condition, CONDITION_PARAM_BUFF, true)
    setConditionParam(condition, CONDITION_PARAM_TICKS, 2 * 60 * 1000)
    setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, 1)
    setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, 5)
 
Thank you again, it works, I had to change CONDITION_PARAM_STAT_MAGICLEVEL to CONDITION_PARAM_STAT_MAGICPOINTS though.
 
Yeah, 0.2.7.0, I think it may be a source of problems for somebody unexperienced as most of the scripts here are for 3.6.0..

also bump
 
Back
Top