Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
MythicCraft
MythicMobs
Wiki
Skills
Mechanics
setvariable
setvariable
· Changes
Page history
Update setvariable - Added a PAPI example
authored
Aug 12, 2021
by
Ghmmy
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
skills/mechanics/setvariable.md
skills/mechanics/setvariable.md
+7
-0
No files found.
skills/mechanics/setvariable.md
View page @
d615eb4c
...
@@ -50,3 +50,10 @@ In this example, the extra "IgnitionDamage" skill would only fire if the
...
@@ -50,3 +50,10 @@ In this example, the extra "IgnitionDamage" skill would only fire if the
Skills:
Skills:
- ignite{ticks=20}
- ignite{ticks=20}
- effects:particles{}
- effects:particles{}
In this example is a placeholder from MMOItems being stored inside a variable.
PlaceholderDamage:
Skills:
- setvariable{var=caster.new_skill_damage;value="%mmoitems_stat_skill_damage%";type=INTEGER} @self
-
damage{a="100
*
<caster.var.new_skill_damage>
"} @PIR{r=5}
\ No newline at end of file