Help,How to modify global bonus

Results 1 to 3 of 3
  1. #1
    Member wxk0248 is offline
    MemberRank
    Jan 2015 Join Date
    41Posts

    Support Help,How to modify global bonus

    e.g. drops,task_money,task_exp,I want adjusted to 10 times the original


  2. #2
    Hardcore Member Fyyre is offline
    MemberRank
    Oct 2007 Join Date
    WanmeiLocation
    147Posts

    Re: Help,How to modify global bonus

    example for you...

    gplayer_imp::ReceiveBelief

    Code:
    void
    gplayer_imp::ReceiveBelief2(int64_t belief, char ignore_max)
    {
            if (belief > 0)
            {
                    float belief_mul = abase::Rand( 30.f, 40.f );
                    IncBelief2( belief, belief_mul, ignore_max );
            }
    }

  3. #3
    Member wxk0248 is offline
    MemberRank
    Jan 2015 Join Date
    41Posts

    Re: Help,How to modify global bonus

    Quote Originally Posted by Fyyre View Post
    example for you...

    gplayer_imp::ReceiveBelief

    Code:
    void
    gplayer_imp::ReceiveBelief2(int64_t belief, char ignore_max)
    {
            if (belief > 0)
            {
                    float belief_mul = abase::Rand( 30.f, 40.f );
                    IncBelief2( belief, belief_mul, ignore_max );
            }
    }
    Where does the method "gplayer_imp:: Receive Belief" come from?I don't know much about decompilation. I have found an alternative, which may not be perfect. / Gamed/config/taskscript/task_list_type.lua, with experience and money Adjust values in this file



Advertisement