Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 10 of 26

Threaded View

  1. #1
    Grunt

    Join Date
    Jan 2010
    Location
    USA
    Posts
    47
    Post Thanks / Like
    Rep Power
    16
    Reputation
    6

    Red face Need help with C++ changing stamina health bonus, PLS look

    Hello again, I need some help... Ok, so I want to make the health bonus from stamina more than just 10hp/STA point I was looking through the scripts in my source and found the C++ file called statsystem.cpp and in it i found the code

    Code:
    float Player::GetHealthBonusFromStamina()
    {
        float stamina = GetStat(STAT_STAMINA);
        float baseStam = stamina < 20 ? stamina : 20;
        float moreStam = stamina - baseStam;
        return baseStam + (moreStam*10.0f);
    I was wondering if it was just a simple edit like

    Code:
    float Player::GetHealthBonusFromStamina()
    {
        float stamina = GetStat(STAT_STAMINA);
        float baseStam = stamina < 20 ? stamina : 20;
        float moreStam = stamina - baseStam;
        return baseStam + (moreStam*500.0f);
    I dont want to have to recompile the core and stuff if i dont have to so if anyone knows please let me know if this is right.

    Also, is there any kind of SQL file i could make to change all of the items at once to have like x20 STA and stuff pls let me know

    Thanks again,
    Kandi

    Last edited by kandi; 18-08-10 at 11:55 PM. Reason: spelling error



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

 

 

Visitors found this page by searching for:

arcemu stamina

Arcemu stamina x100

C stamina

arcemu stamina more health

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 10:16 AM.
Powered by vBulletin® Copyright ©2000-2025, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org