• 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.X+ State of utamo vita always

primate

Member
Joined
Apr 14, 2009
Messages
68
Solutions
1
Reaction score
5
Location
Colombia, Medellín.
Any ideas how I can implement utamo vita status always without using spells or items in druid, sorcerer, paladin?

Thanks for your time.
 
Solution
X
As long as you don't have anything in your server that deactivates utamo vita (such as an energy ring), you can just use a login event.

Change this line;
LUA:
if (targetPlayer && target->hasCondition(CONDITION_MANASHIELD) && damage.primary.type != COMBAT_UNDEFINEDDAMAGE) {

to this;
LUA:
if (targetPlayer && (target->hasCondition(CONDITION_MANASHIELD) || target->getVocationId() == 1) && damage.primary.type != COMBAT_UNDEFINEDDAMAGE) {

That means, sorcerers will always lose their mana first due to damage received.
 
Back
Top