魔兽技能等级问题。希望各位大神可以进来帮忙解决

Home Home
引用 | 編輯 a547995365
2012-01-11 17:57
樓主
推文 x0
#define MAX_SKILL_LEVEL 6

///////////////////
 
// Technically we shouldn't have a skill level EVER greater than 3 right? 技能等级
if ( iLevel > MAX_SKILL_LEVEL )
{
WC3_Log( false, "Setting skill %d to %d wtf?? (%d)", skill_id, iLevel, iDebugID );

log_error( AMX_ERR_NATIVE, "Setting skill %d to %d wtf?? (%d)", skill_id, iLevel, iDebugID );

return;
}

/////////////////////////////////////////////////////////////////////////

new const Float:p_vampiric[3] = {0.05,0.10,0.15,0.20,0.25,0.30}        // Vampiric Aura吸血光环 (skill 1)
new Float:p_unholy[3] = {247.0,250.0,260.0,270.0,280.0,300.0}   // Unholy Aura邪恶光环 (skill 2)
new Float:p_unholy_dod[3] = {33.3,66.6,100.0,101.0,102.0,103.0}   // Unholy Aura邪恶光环 (skill 2)
new const Float:p_levitation[3] = {0.9,0.8,0.7,0.6,0.5,0.4}                // Levitation重力光环 (skill 3)

////////////////////////////////////////////////////////////////////////



这是编译错误的图片。。。。为什么啊~~好纠结!!!!
 在线等啊,各位大大!!!


獻花 x0