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

1.3 imbues

kimokimo

Kimo
Joined
Jan 25, 2011
Messages
821
Solutions
6
Reaction score
156
GitHub
karimadnan
Are the imbues only attributes on items? or is it possible to set manaleech or critical chance to a player without gaining it from items with imbues?
I mean are these special skills gainable with lua?
because in game.cpp it's indentified as a special skill.
chance = attackerPlayer->getSpecialSkill(SPECIALSKILL_CRITICALHITCHANCE);
is it addable via lua tho?
 
Last edited:
Actually, yes.
player:getSpecialSkill(specialSkillType)
player:addSpecialSkill(specialSkillType, value)
Keep in mind it's an incremental function, not a setter, aka you're adding +value instead of skilltype = value.
 
it does add the abilities

but since this is not a setter how do you actually remove them?

update :

it does remove the abilities but changes won't take effect unless character logout, what's the work around this?
or actually it does not remove the abilities but logout does?

also abilities won't show on skills windows unless i start attacking which is odd.
 
Last edited:
Solution
Back
Top