Undertale script viewer

← back to main script listing

gml_Script_scr_attackcalc

(view raw script w/o annotations or w/e)
1
defarg = global.monsterdef[global.mytarget];
2
global.pwr = global.wstrength + global.at;
3
damage = global.pwr - defarg;