Post by Zero-Feeling on Jun 16, 2014 16:25:22 GMT -8
This list is incomplete. It will be updated soon.
//DWARVEN DEFENDER
int nDefenderBonus = GetLevelByClass(CLASS_TYPE_DWARVEN_DEFENDER,oPC);
if(nDefenderBonus > 6)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_STR,2),oSkin);
}
if(nDefenderBonus > 14)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_STR,2),oSkin);
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyDamageResistance(IP_CONST_DAMAGETYPE_MAGICAL,IP_CONST_DAMAGERESIST_5),oSkin);
}
if(nDefenderBonus > 22)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_STR,2),oSkin);
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyDamageResistance(IP_CONST_DAMAGETYPE_MAGICAL,IP_CONST_DAMAGERESIST_10),oSkin);
}
if(nDefenderBonus > 30)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_STR,3),oSkin);
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyDamageResistance(IP_CONST_DAMAGETYPE_MAGICAL,IP_CONST_DAMAGERESIST_10),oSkin);
}
//SHADOW DANCER//
int nShadowdancerBonus = GetLevelByClass(CLASS_TYPE_SHADOWDANCER,oPC);
if(nShadowdancerBonus > 6)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_DEX,1),oSkin);
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_CON,1),oSkin);
}
if(nShadowdancerBonus > 14)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_DEX,1),oSkin);
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_CON,2),oSkin);
}
}
lvl 30
STR,2
DEX,2
//DWARVEN DEFENDER
int nDefenderBonus = GetLevelByClass(CLASS_TYPE_DWARVEN_DEFENDER,oPC);
if(nDefenderBonus > 6)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_STR,2),oSkin);
}
if(nDefenderBonus > 14)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_STR,2),oSkin);
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyDamageResistance(IP_CONST_DAMAGETYPE_MAGICAL,IP_CONST_DAMAGERESIST_5),oSkin);
}
if(nDefenderBonus > 22)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_STR,2),oSkin);
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyDamageResistance(IP_CONST_DAMAGETYPE_MAGICAL,IP_CONST_DAMAGERESIST_10),oSkin);
}
if(nDefenderBonus > 30)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_STR,3),oSkin);
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyDamageResistance(IP_CONST_DAMAGETYPE_MAGICAL,IP_CONST_DAMAGERESIST_10),oSkin);
}
//SHADOW DANCER//
int nShadowdancerBonus = GetLevelByClass(CLASS_TYPE_SHADOWDANCER,oPC);
if(nShadowdancerBonus > 6)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_DEX,1),oSkin);
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_CON,1),oSkin);
}
if(nShadowdancerBonus > 14)
{
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_DEX,1),oSkin);
AddItemProperty(DURATION_TYPE_PERMANENT,ItemPropertyAbilityBonus(IP_CONST_ABILITY_CON,2),oSkin);
}
}
lvl 30
STR,2
DEX,2