Find
You are in a button 3
This button spawns a moderately powerful monster.
Created by
Chaotic Bob
, last updated 31 Jan 2015
Code
if target of push then stuffs;
##stuffs:
$killit = $init_obj;
print "You here a deep voice boom '[$killit] .. your choice is made'";
find $actor, spawned3;
copy $found_id;
var $monst to $new_id;
find $actor, weapspawn;
copy $found_id;
var $weap to $new_id;
var $nami to (drow, ogre, vampire, mohrg, troll, hill giant);
multiset $monst = "class='$nami',loc=$loc";
set $monst's healthmax to 40;
set $monst's health to 40;
var $typi to (warhammer, battleaxe, longsword, flail);
multiset $weap = "class='$typi',loc=$loc";
print "[$monst] and [$weap] fall from the sky";
$actor = $monst;
call "wield $weap";
call "attack $killit";
a roomy called spawn1
a spawned3
a weapspawn