DragonPrime - LoGD Resource Community

Modules, Themes and other customizations for your game => AI Scripts (v 1.1.1 only) => Topic started by: XChrisX on July 04, 2007, 06:19:24 AM

Title: [A.I. Script] Horrifying slime
Post by: XChrisX on July 04, 2007, 06:19:24 AM
In order to give good reason for a seperate A.I. forum, I'll start to release some of the A.I. scripts we are using on our server.

Creaturename: `QHorrifying Slime
Creatunreweapon: `@Digesting Acid
Creaturelevel: 14, 15 or 16 (it's a really hard one!)

global $badguy, $unsetme;
$unsetme = false; // In case multiple slimes are attcking, reset the var at the beginning of the script.
if (e_rand(0,2) == 0 && $badguy['creaturehealth'] > 25) {
  $slime = $badguy;
  $slime ['creaturehealth'] = ceil($slime ['creaturehealth']/2)+15;
  // Put here, so one slime stays target in case the original
  // slime was targetted.
  $unsetme = true; // Delete original slime
  output("`@The slimy blob parts!`0<br>",true);

Of course this will only and solely work with v1.1.1 and following versions. :)

© 2019 DragonPrime - LoGD Resource Community
Email Talisman: talisman -at- gmail.com
&oeXs)2U7=V BmܲV.U e=;p\}eG )Jj} C5EH7ˤH=j } mo|*Ŋw{drV_@IV>/- TFQJ׀̀Ve}l1,V O iNYx͘$e$;
Forums: Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines