Skip to content

Commit bd4c60e

Browse files
committed
Dragon mace special attack
1 parent 229bf6c commit bd4c60e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package game.combat.specialAttacks
2+
3+
import api.combat.specialAttack.SpecialAttackHandler.attack
4+
import io.luna.game.model.mob.block.Graphic
5+
import io.luna.game.model.mob.combat.SpecialAttackType.DRAGON_MACE
6+
7+
/**
8+
* The dragon mace special attack animation id.
9+
*/
10+
val ANIMATION = 1060
11+
12+
/**
13+
* The graphic displayed when the dragon mace special attack is performed.
14+
*/
15+
val GRAPHIC = Graphic(251, 100, 0)
16+
17+
attack(type = DRAGON_MACE,
18+
drain = 25,
19+
attackBonus = 0.25,
20+
damageBonus = 0.50) {
21+
22+
attack { melee(ANIMATION) }
23+
24+
launched { attacker.graphic(GRAPHIC) }
25+
}

0 commit comments

Comments
 (0)