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

Need Bonus System Addon Help!

stigma1991

New Member
Joined
Jan 14, 2010
Messages
21
Reaction score
0
Hi, i need bonus system addon.

If player have active full addon then got bonus.
(Full barbarian= 3 axe skill or somethink) ;)



Citizen Outfit/Addon:
Outfit_Citizen_Male_Addon_3.gif

5 speed, 100hp

Hunter Outfit/Addon:
Outfit_Hunter_Male_Addon_3.gif

3 dist,

Knight Outfit/Addon:
Outfit_Knight_Male_Addon_3.gif

3 sword,

Mage Outfit/Addon:
Outfit_Mage_Male_Addon_3.gif

2 Mlvl 200many

Druid Outfit/Addon:
Outfit_Druid_Male_Addon_3.gif

2Mlvl

Oriental Outfit/Addon:
Outfit_Oriental_Male_Addon_3.gif

200hp 200mana 5 speed

Summoner Outfit/Addon:
Outfit_Summoner_Male_Addon_3.gif

2mlvl 100 many

Wizard Outfit/Addon:
Outfit_Wizard_Male_Addon_3.gif

2Mlvl 100mana 100life

Assassin Outfit/Addon:
Outfit_Assassin_Male_Addon_3.gif

10 speeda 3 dist

Brotherhood Outfit/Addon:
Outfit_Brotherhood_of_Bones_Male_Addon_3.gif

2mlvl 200hp

Jester Outfit/Addon:
Outfit_Jester_Male_Addon_3.gif

5 speed 100hp 100mana

Nightmare Outfit/Addon:
Outfit_Nightmare_Knights_Male_Addon_3.gif

3 Shielding 100hp

Shaman Outfit/Addon
Outfit_Shaman_Male_Addon_3.gif

2Mlvl

* Yalaharian Addon
3mlvl 200hp 200mana

* Demon Hunter
500hp 500mana 10 speeda

* Norseman
200hp 2 shielda

* Warrior
3 sword

Please help me ;)
 
c++ is not needed, can be done in hardcore lua, with custom functions added to the quest script
 
not really, dunno if there is onSetOutfit or like that function, but it have to be used

edit: onCreatureChangeOutfit(creature, outfit)
 
Last edited:
hmm, actually I can try, but this will require number_of_outfits free storages and a lot of lines of code(and one custom function, but whatever :D)
also it will take ages cause I'm really lazy(even if I write something for myself o_O)
 
at least really long:D
only idea is: when you change outfit you first execute function checking all storages used and if any is =1 then decreasing earlier increased stats, then check whitch(spelling?)outfit you set, if one from list then set correct storage and set stats higher.
not hard but easy to make bugs, also you will lose bonus when becoming invisible/using utevo res ina/camouflage?(spelling?)/being changed to something by monster and get it back when changing to normal(I hope so)

also small question: as speed you mean speed points or levels?
 
damn, I have no idea how to execute doPlayerSetSkill(cid, id, value)(checked sourdes and function.lua, nothing)so I leave skill change part for later(dont want to use the buff condition, cause it isnt cool :D)
actually without the skill part there is no sense in making it, cause most of bonuses includes skill(or mlvl) part

aff, all functions I wanted to use are bugged/not exist o_O
 
Last edited:
Back
Top