Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Rewrite configuration file #14

Open
gtteamamxx opened this issue Oct 31, 2018 · 1 comment
Open

[Question] Rewrite configuration file #14

gtteamamxx opened this issue Oct 31, 2018 · 1 comment
Labels

Comments

@gtteamamxx
Copy link
Owner

Actual format for creating wave is:

WAVE_NUMER = (TYPE, MONSTER_NUM, MONSTER_HEALTH, MONSTER_SPEED, SPECIAL_HEALTH, SPECIAL_SPEED)

eg:
1 = (NORMAL, 13, 600, 210)
2 = (BOSS, 20, 1600, 220, 45000, 125)

Maybe we should change this to more universal?
More special monsters in one wave?
User then could add more settings to each wave.
Eg: Extra gold in this wave (eg wave before boss -> every player gets 100gold extra)

Suggestion for new format ( maybe JSON ):

1
ADDITIONAL_GOLD: 20 // optional. Adds extra gold for players
/* Here we can add custom commands
   which we can add by new plugin
1 plugin = 1 new command */

[
 {
  Type: NORMAL
  Health: 3100 3500
  Speed: 250
  Interval: 1.8 2.0,
  Repeat: 13 15
 }
 {
  Type: NORMAL
  Health: 1500 1800
  Speed: 230 260
  Interval: 1.0,
  Repeat: 5
 }
 {
  Type: BONUS
  Health: 3500 4120
  Speed: 300
  Delay: 10.0 // After 10 seconds of last sent monster send this monster
  /* Interval is optional */
  /* Repeat is optional ofc. if not typed then only one time */
 }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant