Skip to content

Commit a21d024

Browse files
committed
Dragon longsword special attack
1 parent bd4c60e commit a21d024

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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_LONGSWORD
6+
7+
/**
8+
* The dragon mace special attack animation id.
9+
*/
10+
val ANIMATION = 1058
11+
12+
/**
13+
* The graphic displayed when the dragon mace special attack is performed.
14+
*/
15+
val GRAPHIC = Graphic(248, 100, 0)
16+
17+
attack(type = DRAGON_LONGSWORD,
18+
drain = 25,
19+
damageBonus = 0.15) {
20+
21+
attack { melee(ANIMATION) }
22+
23+
launched { attacker.graphic(GRAPHIC) }
24+
}

0 commit comments

Comments
 (0)