seems like one of my level 4 skills isnt working if u can be kind enough to look through them heres an update of all my skills now
Code: Select all
#define MAX_SKILLS 48
#define MAX_RACE_SKILLS 3
#define MAX_SKILL_LEVEL 4
#define MAX_ULTIMATE_LEVEL 1
new g_SkillOwner[MAX_SKILLS ]; // For each skill, says who the owning race is
new g_SkillType[MAX_SKILLS ]; // For each skill, says what type of skill it is (trainable/ultimate/passive)
new g_SkillOrder[MAX_SKILLS ]; // For each skill, lists what order it should appear in /level and /selectskill (and how it should save)
// Used to store what level each skill is for the players
new g_PlayerSkillLevel[33][MAX_SKILLS]; // Stores what level each skill is
new bool:g_bPlayerSkills[33][MAX_SKILLS]; // Stores what skills the player has available (set on race selection)
// Constants for Abilities
new const Float:p_vampiric[4] = {0.10,0.20,0.30,0.40} // Vampiric Aura (skill 1)
new Float:p_unholy[4] = {265.0,285.0,300.0,320.0} // Unholy Aura (skill 2)
new Float:p_unholy_dod[4] = {33.3,66.6,100.0,133.3} // Unholy Aura (skill 2)
new const Float:p_levitation[4] = {0.8,0.6,0.4,0.3} // Levitation (skill 3)
new const p_invisibility[4] = {200,175,135,120} // Invisibility (skill 1)
new const p_devotion = 15 // Devotion Aura (skill 2)
new const Float:p_bash[4] = {0.10,0.20,0.30,0.40} // Bash (skill 3)
new const Float:p_critical[4] = {0.25,0.50,0.75,0.85} // Critical Strike (skill 1)
new const Float:p_grenade[4] = {2.0,3.0,4.0,5.0} // Critical Grenade (skill 2)
new const Float:p_ankh[4] = {0.333,0.666,0.788,1.0} // Equipment reincarnation (skill 3)
new const Float:p_evasion[4] = {0.1,0.175,0.25,0.28} // Evasion (skill 1)
new const Float:p_thorns[4] = {0.05,0.1,0.15,0.2} // Thorns Aura (skill 2)
new const Float:p_trueshot[4] = {0.1,0.2,0.35,0.45} // Trueshot Aura (skill 3)
new const Float:p_phoenix[4] = {0.333,0.666,0.788,1.0} // Phoenix (skill 1)
new const p_phoenix_dod[4] = {300,600,900,1200} // Phoenix - DOD (skill 1)
new const Float:p_banish[4] = {0.05,0.10,0.15,0.20} // Banish (skill 2)
new const Float:p_mana[4] = {0.02,0.04,0.08,0.12} // Siphon Mana (skill 3)
new const Float:p_resistant[14] = {0.02, 0.04, 0.08, 0.12, 0.16, 0.20, 0.24, 0.28, 0.32, 0.34, 0.36, 0.38, 0.40, 0.42} // Resistant Skin
new const Float:p_heal[4] = {6.0,4.0,2.0,1.0} // Healing Wave (skill 1)
new const Float:p_hex[4] = {0.05,0.10,0.15,0.20} // Hex (skill 2)
new const p_serpent[4] = {1,2,3,4} // Serpent Ward (skill 3)
new const Float:p_concoction[14] = {0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.10, 0.11, 0.12, 0.13, 0.14} // Unstable Concoction (Skill 4)
new const Float:p_fan[4] = {0.05,0.10,0.15,0.20} // Fan of Knives (skill 1)
new const Float:p_blink[4] = {0.333,0.666,0.8,1.0} // Blink (skill 2)
new const Float:p_shadow[4] = {0.05,0.10,0.15,0.20} // Shadow Strike (skill 3)
new const Float:p_harden[14] = {0.03, 0.05, 0.10, 0.15, 0.20, 0.25, 0.30, 0.35, 0.37, 0.40, 0.43, 0.46, 0.50, 0.55} // Hardened Skin (Skill 4)
new const Float:p_impale[4] = {0.05,0.1,0.15,0.2} // Impale (skill 1)
new const Float:p_spiked[4] = {0.05,0.1,0.15,0.2} // Spiked Carapace (skill 2)
new const Float:p_carrion[4] = {0.05,0.10,0.15,0.2} // Carrion Beetle (skill 3)
new const Float:p_orb[14] = {0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.10, 0.11, 0.12, 0.13, 0.14} // Orb of Annihilation (Skill 4)
mabye if its possible to do something like get race info and edit it to also give the race that the level skill 4 isnt working with. my guess is the warden tho, i think theres something else i need to change in one of the other logs for it, think you know what it is?