Aller au contenu

Photo

problem with getting property_simple_damage_main


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
string sDamageMain = FloatToString(GetCreatureProperty(GetObjectByTag("scout_enemy_prelude"), 50, PROPERTY_VALUE_BASE));
            DisplayFloatyMessage(GetHero(), "health:" + sHealth + "strength" + sStrength + "Armor" + sArmor + "Main Damage" + sDamageMain, FLOATY_MESSAGE, 16777215, 4.0);

i get the other properties on the screen but the main damage one just shows as 0.000000. the enemy is wearing the dagger in his right hand.