15.05.2016, 17:43:56
tak to wygląda w grze
if(attribut == ATR_STRENGTH)
{
if(oth.aivar[REAL_STRENGTH] >= 120)
{
kosten = 3;
}
else if(oth.aivar[REAL_STRENGTH] >= 90)
{
kosten = 3;
}
else if(oth.aivar[REAL_STRENGTH] >= 60)
{
kosten = 2;
}
else if(oth.aivar[REAL_STRENGTH] >= 30)
{
kosten = 2;
}
else
{
kosten = 2;
};
};
if(attribut == ATR_DEXTERITY)
{
if(oth.aivar[REAL_DEXTERITY] >= 120)
{
kosten = 3;
}
else if(oth.aivar[REAL_DEXTERITY] >= 90)
{
kosten = 3;
}
else if(oth.aivar[REAL_DEXTERITY] >= 60)
{
kosten = 2;
}
else if(oth.aivar[REAL_DEXTERITY] >= 30)
{
kosten = 2;
}
else
{
kosten = 2;
};
};
if(attribut == ATR_MANA_MAX)
{
if(oth.aivar[REAL_MANA_MAX] >= 120)
{
kosten = 3;
}
else if(oth.aivar[REAL_MANA_MAX] >= 90)
{
kosten = 3;
}
else if(oth.aivar[REAL_MANA_MAX] >= 60)
{
kosten = 2;
}
else if(oth.aivar[REAL_MANA_MAX] >= 30)
{
kosten = 2;
}
else
{
kosten = 2;
};
};
return kosten;
};
if(attribut == ATR_STRENGTH)
{
if(oth.aivar[REAL_STRENGTH] >= 120)
{
kosten = 3;
}
else if(oth.aivar[REAL_STRENGTH] >= 90)
{
kosten = 3;
}
else if(oth.aivar[REAL_STRENGTH] >= 60)
{
kosten = 2;
}
else if(oth.aivar[REAL_STRENGTH] >= 30)
{
kosten = 2;
}
else
{
kosten = 2;
};
};
if(attribut == ATR_DEXTERITY)
{
if(oth.aivar[REAL_DEXTERITY] >= 120)
{
kosten = 3;
}
else if(oth.aivar[REAL_DEXTERITY] >= 90)
{
kosten = 3;
}
else if(oth.aivar[REAL_DEXTERITY] >= 60)
{
kosten = 2;
}
else if(oth.aivar[REAL_DEXTERITY] >= 30)
{
kosten = 2;
}
else
{
kosten = 2;
};
};
if(attribut == ATR_MANA_MAX)
{
if(oth.aivar[REAL_MANA_MAX] >= 120)
{
kosten = 3;
}
else if(oth.aivar[REAL_MANA_MAX] >= 90)
{
kosten = 3;
}
else if(oth.aivar[REAL_MANA_MAX] >= 60)
{
kosten = 2;
}
else if(oth.aivar[REAL_MANA_MAX] >= 30)
{
kosten = 2;
}
else
{
kosten = 2;
};
};
return kosten;
};
NIE JESTEM ATEISTĄ - WIERZĘ W HEAVY METAL
"Only The Strong Survive!"
"Only The Strong Survive!"