File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
src/main/kotlin/game/game/combat/specialAttacks Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ package game.combat.specialAttacks
2+
3+ import api.combat.specialAttack.SpecialAttackHandler.activation
4+ import api.predef.*
5+ import io.luna.game.model.mob.block.Animation
6+ import io.luna.game.model.mob.block.Animation.AnimationPriority
7+ import io.luna.game.model.mob.block.Graphic
8+ import io.luna.game.model.mob.combat.SpecialAttackType.EXCALIBUR
9+
10+ /* *
11+ * The animation played during the special attack.
12+ */
13+ val ANIMATION = Animation (1057 , AnimationPriority .HIGH )
14+
15+ /* *
16+ * The graphic played during the special attack.
17+ */
18+ val GRAPHIC = Graphic (247 , 0 , 0 )
19+
20+ activation(type = EXCALIBUR , drain = 100 ) {
21+ animation(ANIMATION )
22+ graphic(GRAPHIC )
23+ defence.boost(8 )
24+ speak(" For Camelot!" )
25+ }
You can’t perform that action at this time.
0 commit comments