Je n'avais jamais fait attention a une erreur stupide il va faloir que notre cher hebergeur modifie un script qui ce trouve and les proprietes du module "ru_on_lvl_up" en le remplacant par celui la :
#include "dem_color_text"
void main()
{
object oPC = GetPCLevellingUp();
string sName = GetName(oPC);
int iLvl = GetHitDice(oPC);
int iXP_anul = 500*iLvl*(iLvl-1)-1;
int iInt = GetAbilityScore(oPC, ABILITY_INTELLIGENCE);
if(iInt < 3){iInt = 3;}
int iClass2 = GetClassByPosition( 2, oPC);
int iClass3 = GetClassByPosition( 3, oPC);
if((iClass2 != CLASS_TYPE_INVALID && iClass2 < 26) || (iClass3 != CLASS_TYPE_INVALID))
{
SendMessageToPC(oPC, ColorText("!!! vous ne pouvez multiclasser qu'avec les classes de prestige !!!","r"));
SetXP(oPC, iXP_anul);
ExecuteScript("ru_rend_lvl", oPC);
return;
}
if(GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_BASTARDSWORD,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_BATTLEAXE,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_DAGGER,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_DART,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_DIREMACE,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_DOUBLEAXE,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_DWAXE,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_GREATAXE,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_GREATSWORD,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_HALBERD,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_HANDAXE,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_HEAVYCROSSBOW,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_HEAVYFLAIL,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_KAMA,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_KATANA,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_KUKRI,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_LIGHTCROSSBOW,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_LIGHTFLAIL,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_LIGHTHAMMER,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_LIGHTMACE,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_LONGBOW,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_LONGSWORD,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_MORNINGSTAR,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_QUARTERSTAFF,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_RAPIER,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_SCIMITAR,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_SCYTHE,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_SHORTBOW,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_SHORTSPEAR,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_SHORTSWORD,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_SHURIKEN,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_SICKLE,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_SLING,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_THROWINGAXE,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_TWOBLADEDSWORD,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_UNARMED,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_WARHAMMER,oPC)||
GetHasFeat(FEAT_EPIC_DEVASTATING_CRITICAL_CLUB,oPC))
{
SendMessageToPC(oPC, ColorText("!!! vous ne pouvez utiliser le critique devastateur !!!","r"));
SetXP(oPC, iXP_anul);
ExecuteScript("ru_rend_lvl", oPC);
return;
}
if(GetHasFeat(FEAT_EPIC_GREAT_SMITING_3,oPC))
{
SendMessageToPC(oPC, ColorText("! Chatiment 3 et plus interdit, Refaire votre niveau sans ce don !","r"));
SetXP(oPC, iXP_anul);
ExecuteScript("ru_rend_lvl", oPC);
return;
}int iPikpo = GetSkillRank(SKILL_PICK_POCKET,oPC);
int iCrafta = GetSkillRank(SKILL_CRAFT_ARMOR,oPC);
int iCraftw = GetSkillRank(SKILL_CRAFT_WEAPON,oPC);
if(iPikpo>iInt)
{
SendMessageToPC(oPC, ColorText("! Le Pick pocket est interdit, Refaire votre niveau sans ce talent !","r"));
SetXP(oPC, iXP_anul);
ExecuteScript("ru_rend_lvl", oPC);
return;
}
if(iCrafta>iInt)
{
SendMessageToPC(oPC, ColorText("! Le Craft est interdit, Refaire votre niveau sans ce talent !","r"));
SetXP(oPC, iXP_anul);
ExecuteScript("ru_rend_lvl", oPC);
return;
}
if(iCraftw>iInt)
{
SendMessageToPC(oPC, ColorText("! Le Craft est interdit, Refaire votre niveau sans ce talent !","r"));
SetXP(oPC, iXP_anul);
ExecuteScript("ru_rend_lvl", oPC);
return;
}
if (iLvl>30)
{
AssignCommand(OBJECT_SELF, SpeakString(ColorText("|| "+sName+" est passe niveau "+IntToString(iLvl)+" ||","g"), TALKVOLUME_SHOUT));
// ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_AURA_UNEARTHLY),oPC);
if(GetItemPossessedBy(oPC, "BIEN")!= OBJECT_INVALID)
{
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_FNF_SUMMON_CELESTIAL),oPC);
DelayCommand(2.5,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_STRIKE_HOLY), oPC, 0.0));
}
if(GetItemPossessedBy(oPC, "MAL")!= OBJECT_INVALID)
{
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_FNF_PWKILL),oPC);
DelayCommand(1.5,ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectVisualEffect(VFX_FNF_PWKILL),oPC));
DelayCommand(2.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_HARM), oPC, 0.0));
}
}
}