Jump to content
Sign in to follow this  
AnnieRuru

fixedaspd mapflag

Recommended Posts

hehehe ... I'm so happy that now mapflag also can be a plugin
I think I can safely release all my custom mapflags for hercules users

 

Download: 1.3
plugin

.

prontera    mapflag    fixedaspd    150
	setmf_fixedaspd "prontera", 150;

all players will have fixed attack speed at 150 speed
the value capped between 85~199 ... although the maximum may not actually 199,
it can be battle_config.max_aspd for 1st/2nd jobs, or battle_config.max_third_aspd for 3rd jobs

 

prontera    mapflag    fixedaspd    150    99
	setmf_fixedaspd "prontera", 150, 99;

all players except GM99 at prontera has fixed attack speed at 150

 

	removemf_fixedaspd "prontera";

remove the fixedaspd mapflag in prontera, without using "@reloadscript"

 

	dispbottom getmf_fixedaspd( "prontera" ) +"";
	dispbottom getmf_fixedaspd( "prontera", 0 ) +"";
	dispbottom getmf_fixedaspd( "prontera", 1 ) +"";

first 2 lines return the fixedaspd value, 3rd line return the GM level bypass restriction
Note: since the minimum value is 85, if the mapflag is off, return 0

 

 

1.0 - plugin

1.1 - plugin
- I hook wrong function, should be mapflag initialize

1.1a -
- optimized some part

1.2 - plugin
- update to latest revision
- add GM level bypass restriction
- add *setmapflagfixedaspd *removemapflagfixedaspd *getmapflagfixedaspd script command

1.3 - plugin
- change *setmapflagfixedaspd into *setmf_fixedaspd ... and so on

 

Edited by AnnieRuru

Share this post


Link to post
Share on other sites

1.2 - plugin
- update to latest revision
- add GM level bypass restriction
- add *setmapflagfixedaspd *removemapflagfixedaspd *getmapflagfixedaspd script command

Share this post


Link to post
Share on other sites

since some people has downloaded 1.2, has to move up a revision

1.3 - plugin
- change *setmapflagfixedaspd into *setmf_fixedaspd ... and so on

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.