My enthroned familiar: Difference between revisions
Jump to navigation
Jump to search
imported>Bale mNo edit summary |
imported>Heeheehee mNo edit summary |
||
Line 22: | Line 22: | ||
boolean enthrone_megadrone() { | boolean enthrone_megadrone() { | ||
if (my_enthroned_familiar()!=$familiar[el vibrato megadrone]) | if (my_enthroned_familiar()!=$familiar[el vibrato megadrone]) | ||
return | return enthrone_familiar($familiar[megadrone]); | ||
return false; | return false; | ||
} | } | ||
</syntaxhighlight>}}| | </syntaxhighlight>}}| | ||
see_also={{SeeAlso| | see_also={{SeeAlso|enthrone_familiar|equipped_item}}| | ||
}} | }} | ||
[[Category:Equipment]] | [[Category:Equipment]] |
Latest revision as of 17:59, 23 July 2010
Function Syntax
familiar my_enthroned_familiar()
Returns the familiar currently enthroned.
Code Sample
Returns true if the El Vibrato Megadrone is successfully equipped to the Crown of Thrones.
boolean enthrone_megadrone() {
if (my_enthroned_familiar()!=$familiar[el vibrato megadrone])
return enthrone_familiar($familiar[megadrone]);
return false;
}