Search results

  1. gemelli

    Illarion's NeoStasis script v1.4

    Trust me, the first time you cast Wave of Sauce on round 29 vs. a drunk goat, you will sit up and notice :D Nope ... I just added a test line to the round info area -- print("Monster HP: "+monster_hp()); -- and ran the script in the Friars'.  Although I was dealing damage every round...
  2. gemelli

    Illarion's NeoStasis script v1.4

    A few minor changes in this version: # v2.1- Added tracker for damage dealt via spheres, reducing MP requirements for Kill(). Added # "poke" action to address cases where we have full MP, full HP, and want to do something -- # previously, Kill() would be called at a potentially high MP...
  3. gemelli

    Illarion's NeoStasis script v1.4

    So far, this is looking great! I'll try to find time to play with it over the next few days; my initial reactions are all based on reading, not running. That being said, here are a few things that jumped out at me from an initial review: (1) get_spell_bonus(): Intrinsic spiciness and...
  4. gemelli

    Monster Encounter Tests

    I vote for adding monster name to the list of conditions. The reasons that macman's given pretty much echo my opinions. In fact, I was wishing that I could "conditions add monster blooper" just the other day :) As far as insight into the monster queue, I think what I'd really prefer to see...
  5. gemelli

    Illarion's NeoStasis script v1.4

    The response you guys provide via this forum is nothing short of phenomenal. Kudos! As long as we're adding a check for Amnesia: if(have_effect($effect[Jabañero Saucesphere])==0) { cli_execute("abort: Oops! You forgot the sauce."); } On that note, it might be best to add a general...
  6. gemelli

    Help with function recursion

    /me grovels in deep, heartfelt thanks :)
  7. gemelli

    Pulverise results

    Just as an FYI, feesher.com is not a "they", it's a "him." Specifically, a "me." :) (Though I had lots of help from the GoED and others on collecting and spading out the data posted on those sites to date, the sites themselves are my babies.) Truth be told, we only smashed two ultra-rares...
  8. gemelli

    Help with function recursion

    OK, whew.  I was starting to worry that it was just me :D  (And apologies for my lack of good programming terminology ... I never got any formal training in this stuff.) I'm going to try to come up with a non-recursive way to solve this problem in the meantime -- ow, ow, ow -- but many thanks...
  9. gemelli

    Help with function recursion

    Not a problem! I appreciate any help you can offer. It wasn't obvious to me that you could create a new key in a map simply by evaluating whether there is anything in that key; thank you for clearing that up. That should be simple to code around. I'll keep playing around with the recursion...
  10. gemelli

    Help with function recursion

    I know, I know ... to some of you, "recursion" is most likely a dirty word :) That being said, I'd like some help with it just the same. What I am trying to do is build an ASH function whose purpose is to examine an integer map, and return a string that specifies the keys in that map whose...
  11. gemelli

    Illarion's NeoStasis script v1.4

    This is looking really sharp; nice work! One thing I've realized about SauceKill() is that it doesn't cope well with situations where the monster can't be killed outright with a single spell.  It often casts CLEESH when I wish it wouldn't :(  There are a few ways to handle this ... one would be...
  12. gemelli

    InterStasis v1.4 - A between-battle script to complement NeoStasis

    This is my first attempt at ASH coding, so any and all suggestions and comments -- including "are you taking new medication or something?" -- are most welcome :) This script is designed to complement Illarion's NeoStasis script by providing some between-round adjustments to help keep you at...
  13. gemelli

    Looking for a library ...

    Many thanks!  That function is absolutely perfect for what I need ... I owe you one :D EDIT: I created two functions in ASH: one for converting items to effects, and the other for going the other way. I don't think these are perfect -- for one thing, there are almost certainly effects and...
  14. gemelli

    Looking for a library ...

    Got it, thanks :) I'll post my functions when I finish converting the data over. One more question as long as I'm here ... I am also interested in evaluating what equipment "slot" a given item would naturally equip to (if it actually equips to a slot). Is there a built-in function in Mafia to...
  15. gemelli

    Looking for a library ...

    I've been making extensive use of the skill_to_effect() function lately. I was wondering if there's a function available that does something similar for items that produce effects when used (e.g., the super-spikey hair gel). It wouldn't be hard to write a simple mapping table ... but I thought...
  16. gemelli

    Illarion's NeoStasis script v1.4

    I'm a huge fan of this script. I wanted to share an update that I added, incorporating BDrag0n's changes as well as some other new functions: # v1.6 - changes by Gemelli - added check to see if monster is safe to use stasis against, added # immediate-finish logic for unsafe monsters, tweaked...
  17. gemelli

    string handling

    If statements need the argument you're testing to appear inside parentheses. Like this: void main() {   if(contains_text( "random string of nothing", "dots" )) { print("We have dots"); }   else { print("Nothing found"); } } Hope this helps!
  18. gemelli

    Bug workaround: Identifying monsters in scripts via relay browser

    Hola! I just started playing with ASH today, and I can tell I'm going to have a lot of fun with it.  Kudos to all you developers and nutty scripters! While browsing through Illarion's script, I found out that when you execute an ASH script via the relay browser, the "eek" variable (monster ID)...
Back
Top