Simplify WML a little
This commit is contained in:
parent
8e323434ca
commit
0b2b15c326
1 changed files with 3 additions and 45 deletions
|
@ -10,24 +10,10 @@
|
|||
increase={HP_INCREMENT}
|
||||
heal_full=no
|
||||
[/effect]
|
||||
#ifdef EASY
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase={XP_INCREMENT_E}
|
||||
increase={ON_DIFFICULTY {XP_INCREMENT_E} {XP_INCREMENT_N} {XP_INCREMENT_H}}
|
||||
[/effect]
|
||||
#endif
|
||||
#ifdef NORMAL
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase={XP_INCREMENT_N}
|
||||
[/effect]
|
||||
#endif
|
||||
#ifdef HARD
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase={XP_INCREMENT_H}
|
||||
[/effect]
|
||||
#endif
|
||||
[effect]
|
||||
apply_to=variation
|
||||
name={VARIATION_NAME}
|
||||
|
@ -46,24 +32,10 @@
|
|||
increase={HP_INCREMENT}
|
||||
heal_full=no
|
||||
[/effect]
|
||||
#ifdef EASY
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase={XP_INCREMENT_E}
|
||||
increase={ON_DIFFICULTY {XP_INCREMENT_E} {XP_INCREMENT_N} {XP_INCREMENT_H}}
|
||||
[/effect]
|
||||
#endif
|
||||
#ifdef NORMAL
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase={XP_INCREMENT_N}
|
||||
[/effect]
|
||||
#endif
|
||||
#ifdef HARD
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase={XP_INCREMENT_H}
|
||||
[/effect]
|
||||
#endif
|
||||
[effect]
|
||||
apply_to=type
|
||||
name={TYPE_NAME}
|
||||
|
@ -88,24 +60,10 @@
|
|||
apply_to=variation
|
||||
name={VARIATION_NAME}
|
||||
[/effect]
|
||||
#ifdef EASY
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase={EXP_E}
|
||||
increase={ON_DIFFICULTY {EXP_E} {EXP_N} {EXP_H}}
|
||||
[/effect]
|
||||
#endif
|
||||
#ifdef NORMAL
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase={EXP_N}
|
||||
[/effect]
|
||||
#endif
|
||||
#ifdef HARD
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase={EXP_H}
|
||||
[/effect]
|
||||
#endif
|
||||
[/advancement]
|
||||
#enddef
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue