15 lines
361 B
Text
15 lines
361 B
Text
function basegun_equip() /* entry=270 class_id=0x04C8 slot=0x0A */
|
|
{
|
|
set_info(0x0211, *(arg_06));
|
|
process_exclude();
|
|
if (getTargetNPCNumMaybe() == 0) {
|
|
spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else {
|
|
spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
|
|
suspend;
|
|
}
|
|
return;
|
|
}
|