Jump to content
  • 0

Exp dynamically modified by mapflag


Alayne

Question


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

Hi guys,

 

Here's my question. 

I've made several scripts using a dynamic mapflag application. Some works pretty well (noloot, nocommand etc) but i've got a problem with bexp and jexp.

 

In fact, I'd like to change the base rate to a random value (based on an original bexp rate value), but I don't seems to work. here's how I'm doing it:

 

setmapflag "Crystilia", mf_bexp,rand($volva_effet == 0 || $volva_effet ==  3 || $volva_effect == 4 ? .max_rate_value : .min_rate_value, .max_rate_value);
 
and removing it like this:
 
removemapflag "Crystilia", mf_bexp;
 
The values are well selected, but it doesn't change anything on the earned exp. Does anybody try something like this? Is there another solution if this one isn't correct?
 
Thanks
Edited by Alayne
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

Nobody knows how to do that?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

What your asking to do is change a " BATTLE " flag, not a mapflag. Therefore your process wont work. Also, changing a battle effect, works cross-server not on a map-by-map basis.

 

In order to properly do this, you just have to give the player extra exp per kill, using a script that does it for you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

Well allright. I don't understand the use of this bexp mapflag then...But ok, thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...