Skip to content
GitLab
Explore
Sign in
Register
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
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