View Single Post
risner
Senior Member
Volunteer Data File Contributor
 
Join Date: Jun 2010
Posts: 623

Old December 3rd, 2010, 08:07 PM
Quote:
Originally Posted by Bluephoenix View Post
still would require modifiying the minion code.
It might be because I don't know what I'm doing.

But why couldn't you modify cAnimClass found in source/srd_minions.dat with a script using ReplaceID to replace cAnimClass with your script. So your script gets bootstrapped into the minion instead of cAnimClass and from there check things in the master and modify accordingly?

It appears to be loaded by the minion:
<thing
id="cAnimClass"
name="Animal Companion"
compset="CompClHelp"

Ok cAnimClass is on the hero, but cAnimComp contains the minion that is created.
I replace id on cAnimComp, and added a bootstrap to Immunity to Disease on the minion.
So when I created a badger AC, it had immunity to disease bootstrapped.

So you can make code to modify the behaviour, the only caveat is you can't do it inside the editor.
You must hand craft the xml code by making things in the editor and then copying and pasting it.

Here is the example:
http://heathers.stdio.com/~risner/Min.user

Last edited by risner; December 3rd, 2010 at 08:52 PM.
risner is offline   #12 Reply With Quote