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

Upgrade system magic attack

zcorpy

New Member
Joined
Sep 12, 2017
Messages
85
Reaction score
4
Hi everybody! I need an action-script a little rare because i dont ever seen in any forum :S or maybe i'm bad searching :D Well...

I have an upgrade system working ok in my server, but this system dont have upgrading for rod-wands :/ i need a script with a function "upgrade magic attack" for example:


With a wand of vortex the normal attack is 15-20 damage...
But if the wand it's upgrade to +1 the attacks' up to 30-40, +2 50-80, and so on...

Please help me!!!!
 
This is not a request area, if you're working on something and need help, I'll do my best to help.
 
2093tk2.png

SKILL_MAGLEVEL not declared
bool WeaponMelee::getSkillType ... already has a body
:c
 
2093tk2.png

SKILL_MAGLEVEL not declared
bool WeaponMelee::getSkillType ... already has a body
:c


go to u enums.h and seach for like this and send me


enum skills_t : uint8_t {
SKILL_FIST = 0,
SKILL_CLUB = 1,
SKILL_SWORD = 2,
SKILL_AXE = 3,
SKILL_DISTANCE = 4,
SKILL_SHIELD = 5,
SKILL_FISHING = 6,
SKILL_CRITICAL_HIT_CHANCE = 7,
SKILL_CRITICAL_HIT_DAMAGE = 8,
SKILL_LIFE_LEECH_CHANCE = 9,
SKILL_LIFE_LEECH_AMOUNT = 10,
SKILL_MANA_LEECH_CHANCE = 11,
SKILL_MANA_LEECH_AMOUNT = 12,

SKILL_MAGLEVEL = 13,
SKILL_LEVEL = 14,

SKILL_FIRST = SKILL_FIST,
SKILL_LAST = SKILL_MANA_LEECH_AMOUNT
};
 
Thanks bro, it compiled successfully
i only change
skill = SKILL_MAGLEVEL;
to
skill = SKILL__MAGLEVEL;
but idk how this system works, how i can upgrade the wand damage with the mock upgrade system
 
Back
Top