Skip to content

Instantly share code, notes, and snippets.

View KoderFPV's full-sized avatar

Artur Slomowski KoderFPV

View GitHub Profile
@KoderFPV
KoderFPV / DiscoPriestGamepadBindings.md
Last active June 11, 2024 20:54
Discpline priest arena solo shuffle v1

The goal is to have the thumb on the left analog 95% of the time.

Gyro aiming Very important is to be skilled in gyro aiming. It is crucial to put the Power Word Barrier and Mass dispel in the right place in the arena.

Also, the gyro is much much better to travel through UI.

I enable (not intentionally) gyro by pressing RT very often during gameplay. I have no problem with this, I am used to correcting my cursor position very often to center of screen. (like we do with a mouse)

Targeting

import { RpgPlayer, type RpgPlayerHooks, Control, Components, Input } from '@rpgjs/server'
import Warrior from './database/classes/warrior-class'
import ArcaneBoltSkill from './database/skills/arcaneBolt-skill'
const player: RpgPlayerHooks = {
onConnected(player: RpgPlayer) {
player.name = 'YourName'
player.throughOtherPlayer = false
player.through = false
player.setComponentsTop(Components.text('{name}'))
import { EventData, RpgEvent, Speed } from "@rpgjs/server";
@EventData({
name: "ArcaneBoltEvent",
})
export default class ArcaneBoltEvent extends RpgEvent {
onInit() {
console.log("event inited");
this.speed = Speed.Fastest;
this.showAnimation("arcaneBoltSprite", 'default');
import { RpgPlayer } from '@rpgjs/server'
import { Skill } from '@rpgjs/database'
import ArcaneBoltEvent from '../../events/skills/arcaneBolt-event';
@Skill({
id: 'ArcaneBolt',
name: 'ArcaneBolt',
description: 'Shoots a ball of arcane magic',
spCost: 10,
power: 100,
import { Spritesheet } from "@rpgjs/client";
const to = () => {
const array: any = []
let k = 0
const durationFrame = 8
while(k < 32) {
for (let i=0 ; i < 2 ; i++) {
for (let j=0 ; j < 2 ; j++) {
array.push({ time: k * durationFrame, frameX: j, frameY: i })
import { Spritesheet } from "@rpgjs/client";
const to = () => {
const array: any = []
let k = 0
const durationFrame = 8
while(k < 32) {
for (let i=0 ; i < 2 ; i++) {
for (let j=0 ; j < 2 ; j++) {
array.push({ time: k * durationFrame, frameX: j, frameY: i })