yeah sure
oh sorry that wasn't intended ;( i still love u
You weren't fun and didn't reply back so I didn't wanna do it
liar, its not even daily anymore
Code: val endLocation = victim.location val subLocation1 = endLocation.transform(1, 0, 0) val subLocation2 = endLocation.transform(0, 1, 0) fun sendProjectile(startLocation: Location, endLocation: Location) { Projectile.ranged(startLocation, endLocation, SPECIAL_PROJECTILE_ID, 0 ,0, 46, 1).send() } fun sendGraphic(location: Location) { (victim as? Player)?.actionSender?.sendPositionedGraphics(Graphics.create(IMPACT_GFX), location) } fun sendPulse(time: Int, pulse: () -> Unit) { World.submit(object : Pulse(time) { override fun pulse(): Boolean { pulse() return true } }) } sendPulse(victim.location.getDelay(entity.location)) { sendGraphic(endLocation) sendProjectile(endLocation, subLocation1) sendProjectile(endLocation, subLocation2) sendPulse(endLocation.getDelay(subLocation1)) { sendGraphic(subLocation1) } sendPulse(endLocation.getDelay(subLocation2)) { sendGraphic(subLocation2) } } here's your daily dose of kotlin
val endLocation = victim.location val subLocation1 = endLocation.transform(1, 0, 0) val subLocation2 = endLocation.transform(0, 1, 0) fun sendProjectile(startLocation: Location, endLocation: Location) { Projectile.ranged(startLocation, endLocation, SPECIAL_PROJECTILE_ID, 0 ,0, 46, 1).send() } fun sendGraphic(location: Location) { (victim as? Player)?.actionSender?.sendPositionedGraphics(Graphics.create(IMPACT_GFX), location) } fun sendPulse(time: Int, pulse: () -> Unit) { World.submit(object : Pulse(time) { override fun pulse(): Boolean { pulse() return true } }) } sendPulse(victim.location.getDelay(entity.location)) { sendGraphic(endLocation) sendProjectile(endLocation, subLocation1) sendProjectile(endLocation, subLocation2) sendPulse(endLocation.getDelay(subLocation1)) { sendGraphic(subLocation1) } sendPulse(endLocation.getDelay(subLocation2)) { sendGraphic(subLocation2) } }
ayyy im down
We should make a group on r-s called kotlin fan club we have a new member: https://www.rune-server.ee/runescape...ml#post5429554