// TMW2 script // Author: Jesusalva // // Magic Script: TMW2_STUDY // // Skill to study a target monster // Will report the monster exact current stats, and is part of research function script SK_study { .@mobGD=getarg(0); if (getunittype(.@mobGD) != UNITTYPE_MOB) { dispbottom l("This skill can only be used on monsters!"); return; } .@mobID=getunitdata(.@mobGD, UDT_CLASS); dispbottom l("%s - %d/%d HP, %d/%d MP", getmonsterinfo(.@mobID, MOB_NAME), fnum(getunitdata(.@mobGD, UDT_HP)), fnum(getunitdata(.@mobGD, UDT_MAXHP)), fnum(getunitdata(.@mobGD, UDT_SP)), fnum(getunitdata(.@mobGD, UDT_MAXSP))); return; }