Jemand eine Idee wie das geht? Hab leider nur in der skill.cpp die Liste der boni gefunden:
Code
- struct SPointOnType
- {
- const char * c_pszName;
- int iPointOn;
- } kPointOnTypes[] = {
- { "NONE", POINT_NONE },
- { "MAX_HP", POINT_MAX_HP },
- { "MAX_SP", POINT_MAX_SP },
- { "HP_REGEN", POINT_HP_REGEN },
- { "SP_REGEN", POINT_SP_REGEN },
- { "BLOCK", POINT_BLOCK },
- { "HP", POINT_HP },
- { "SP", POINT_SP },
- { "ATT_GRADE", POINT_ATT_GRADE_BONUS },
- { "DEF_GRADE", POINT_DEF_GRADE_BONUS },
- { "MAGIC_ATT_GRADE",POINT_MAGIC_ATT_GRADE_BONUS },
- { "MAGIC_DEF_GRADE",POINT_MAGIC_DEF_GRADE_BONUS },
- { "BOW_DISTANCE", POINT_BOW_DISTANCE },
- { "MOV_SPEED", POINT_MOV_SPEED },
- { "ATT_SPEED", POINT_ATT_SPEED },
- { "POISON_PCT", POINT_POISON_PCT },
- { "RESIST_RANGE", POINT_RESIST_BOW },
- //{ "RESIST_MELEE", POINT_RESIST_MELEE },
- { "CASTING_SPEED", POINT_CASTING_SPEED },
- { "REFLECT_MELEE", POINT_REFLECT_MELEE },
- { "ATT_BONUS", POINT_ATT_BONUS },
- { "DEF_BONUS", POINT_DEF_BONUS },
- { "RESIST_NORMAL", POINT_RESIST_NORMAL_DAMAGE },
- { "DODGE", POINT_DODGE },
- { "KILL_HP_RECOVER",POINT_KILL_HP_RECOVERY },
- { "KILL_SP_RECOVER",POINT_KILL_SP_RECOVER },
- { "HIT_HP_RECOVER", POINT_HIT_HP_RECOVERY },
- { "HIT_SP_RECOVER", POINT_HIT_SP_RECOVERY },
- { "CRITICAL", POINT_CRITICAL_PCT },
- { "MANASHIELD", POINT_MANASHIELD },
- { "SKILL_DAMAGE_BONUS", POINT_SKILL_DAMAGE_BONUS },
- { "NORMAL_HIT_DAMAGE_BONUS", POINT_NORMAL_HIT_DAMAGE_BONUS },
- { "\n", POINT_NONE },
- };
Finde allerdings nicht heraus wo die Funktionsweise dessen definiert ist. Hat jemand eine Ahnung?
Würde halt gerne Stark gegen Monster einfügen, damit ich diesen Wert auf Skills setzen kann wie zum Beispiel Starker Körper.