package Ġworld . greg s . void ps . world . interact . entity . player . com bat . me lee . special Ċ Ċ import Ġworld . greg s . void ps . engine . entity . character . player . Player Ċ import Ġworld . greg s . void ps . engine . entity . character . set Animation Ċ import Ġworld . greg s . void ps . engine . entity . character . set Graphic Ċ import Ġworld . greg s . void ps . engine . entity . item . Item Ċ import Ġworld . greg s . void ps . engine . event . on Ċ import Ġworld . greg s . void ps . world . interact . entity . com bat . Combat Swing Ċ import Ġworld . greg s . void ps . world . interact . entity . com bat . hit Ċ import Ġworld . greg s . void ps . world . interact . entity . com bat . weapon Ċ import Ġworld . greg s . void ps . world . interact . entity . player . com bat . MAX _ SPECIAL _ ATT ACK Ċ import Ġworld . greg s . void ps . world . interact . entity . player . com bat . drain Special Energy Ċ import Ġworld . greg s . void ps . world . interact . entity . player . com bat . me lee . special Accuracy Multiplier Ċ import Ġworld . greg s . void ps . world . interact . entity . player . com bat . me lee . special Damage Multiplier Ċ import Ġworld . greg s . void ps . world . interact . entity . player . com bat . special Attack Ċ Ċ fun Ġis Rune Cl aws ( item : ĠItem ?) Ġ= Ġitem Ġ!= Ġnull Ġ&& Ġitem . id . startsWith (" rune _ cl aws ") Ċ Ċ special Accuracy Multiplier ( 1 . 1 , Ġ:: is Rune Cl aws ) Ċ special Damage Multiplier ( 1 . 1 , Ġ:: is Rune Cl aws ) Ċ Ċ on < Combat Swing >({ Ġ! sw ung () Ġ&& Ġit . special Attack Ġ&& Ġis Rune Cl aws ( it . weapon ) Ġ}) Ġ{ Ġplayer : ĠPlayer Ġ-> ĊĠĠĠ Ġif Ġ(! drain Special Energy ( player , ĠMAX _ SPECIAL _ ATT ACK Ġ/ Ġ 4 )) Ġ{ ĊĠĠĠĠĠĠĠ Ġdelay Ġ= Ġ- 1 ĊĠĠĠĠĠĠĠ Ġreturn @ on ĊĠĠĠ Ġ} ĊĠĠĠ Ġplayer . set Animation (" imp ale ") ĊĠĠĠ Ġplayer . set Graphic (" imp ale ") ĊĠĠĠ Ġplayer . hit ( target ) ĊĠĠĠ Ġdelay Ġ= Ġ 5 Ċ }