Jump to content
TrinityCore

Memorabilis

Plebs
  • Content count

    14
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Memorabilis

  • Rank
    Member

Recent Profile Visitors

786 profile views
  1. Hi there, First of all: glad to see how good TC is going nowdays, thank you contributors! I got 2 questions: 1) Where are Player_Stats_Per_Level defined? Which C++ formula/DBC/SQL defines of how much health per level does the player have? I'm looking forward for the way to set it to be STATIC. 2) Smart_Scripts -> SMART_ACTION_ADD_POWER (and few more) has "PowerType" as an action_param1 I found this in SharedDefines.h: (and I suggest you to put it in here: https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130108/smart+scripts) POWER_MANA = 0, POWER_RAGE = 1, POWER_FOCUS = 2, POWER_ENERGY = 3, POWER_UNUSED = 4, POWER_RUNE = 5, POWER_RUNIC_POWER = 6, POWER_SOUL_SHARDS = 7, POWER_ECLIPSE = 8, POWER_HOLY_POWER = 9, POWER_ALTERNATE_POWER = 10, // Used in some quests MAX_POWERS = 11, POWER_ALL = 127, // default for class? POWER_HEALTH = 0xFFFFFFFE // (-2 as signed value) What can I do to mod HEALTH with this, since I cannot use negative values or "0xFFFFFFFE" in DB collumn ? SmartAI works well with MANA etc. - tested.
  2. Evade range question

    thx Ref: Anything else, please?
  3. Evade range question

    Yo guys, Anyone to tell me how's and where evade range is generated/defined? Seem like it is diff for diff mobs and NPC, but im interesing in changing/looking for data in 4.3.4 or 3.3.5a. Thanks.
  4. Linking 2 NPCs to pull together

    I made the research today, and... MY BAD dude, sry. Family changes nothing. It's all about NPC's faction id. TEST: NPC of faction ID 168 (hostile to all players) called for help all NPCs of same faction, but NPC of faction 17 (brotherhood) did not respond for call (was in rage). Didnt try other factions then 17, but since 17 was HOSTILE to me, as a player... make sense. Also NPC of family id 25 (hyena) called for help both: other hyena and WOLF family in range. As for creator of RP project, it seems quite hard to deal with aggro and aggro ranges, since it operates on diff sources (configs, sql, emulator itself). Took me some time to figure it out how it works, and still needs research tbh. Good news is that "call_for_help_ function works so well, just like the whole smart_scripts.
  5. Linking 2 NPCs to pull together

    You could simply use "SMART_ACTION_CALL_FOR_HELP" funcion of smart_scripts in database (http://collab.kpsn.org/display/tc/smart_scripts). It'll cause an NPC to call for help any other NPCs of same family type (http://collab.kpsn.org/display/tc/creature_template) in X (set by urself - works even for such high values like 200+) yards radious. You're also able to hide "[NPC name] call for help" massage on the chat in smarts. Remember to set both NPCs with smart_scripts (logical, isnt it?) and fit "SmartAI" under AIName in "creatures_template" table, to make em work. Works well to me under 4.3.4 core. Also don't act like disabled - smarts are easy with wiki support. gl and greetings, Memorabilis.
×