Set Ability and Set Race Possible?
Moderator: Event DM
- IceThorn
- Team Member; Retired with Honors
- Posts: 5291
- Joined: Mon Jan 10, 2005 2:06 pm
- Location: Austin, Tx. (Central Time; GMT-6)
- Contact:
Set Ability and Set Race Possible?
I've been unable to find functions for setting a PC's ability to an absolute value or to set the PC's race. I've got a loop to calculate the ability difference and subtract to get to the desired number, but the decrease ability function has to be a positive int < 10 => needing a loop. Anyone know a smoother way?
Also, if I want to set a PC's race to say Undead, is there a way to do it?
Also, if I want to set a PC's race to say Undead, is there a way to do it?
- girlysprite
- Elder Sage
- Posts: 3659
- Joined: Mon Apr 12, 2004 2:38 pm
- Location: In my little pony ranch
- Contact:
as for races: I think the onlyway for a PC to change race is to polymorph. Youcan change the subrace of the PC without any problem, but I think you cant change the race.
What you can do is change their appearance without the polymorph effect.
What you can do is change their appearance without the polymorph effect.
Gaming doesn't make people voilent, lag does
<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
- PlasmaJohn
- CCC / Release Admin
- Posts: 9010
- Joined: Fri Dec 26, 2003 10:37 pm
- Timezone: US/Eastern
- Location: Negaria
- Contact:
When you say setting a PC's ability to an absolute value, do you mean as a base ability score, or an adjusted ability score (i.e. when the score is in red or green)?
The only way to change PC race is with a .bic edit, via autobic, as PJ said, or manually editing it.
Altering a PC's race or base stats might make it so they can't log in with the ECL checker running, I think.
I hope this isn't for what I think it might be for...
The only way to change PC race is with a .bic edit, via autobic, as PJ said, or manually editing it.
Altering a PC's race or base stats might make it so they can't log in with the ECL checker running, I think.
I hope this isn't for what I think it might be for...
This problem happened the other week when an overenthusiastic DM used setSTR on PCsPreston wrote:Altering a PC's race or base stats might make it so they can't log in with the ECL checker running, I think.
Irreverence Awards 05 :most Ineffectual PC, honourable mention for most likely to give/recieve Spite
Islands of the Lost Head DM
Islands of the Lost Head DM
- IceThorn
- Team Member; Retired with Honors
- Posts: 5291
- Joined: Mon Jan 10, 2005 2:06 pm
- Location: Austin, Tx. (Central Time; GMT-6)
- Contact:
Yea, I'm avoiding Polymorph since it won't allow casting & changes abilities.girlysprite wrote:as for races: I think the onlyway for a PC to change race is to polymorph. Youcan change the subrace of the PC without any problem, but I think you cant change the race.
What you can do is change their appearance without the polymorph effect.
No, I want to set CON to 10 so no bonuses (if CON > 10)Preston wrote:When you say setting a PC's ability to an absolute value, do you mean as a base ability score, or an adjusted ability score (i.e. when the score is in red or green)?
The only way to change PC race is with a .bic edit, via autobic, as PJ said, or manually editing it.
Altering a PC's race or base stats might make it so they can't log in with the ECL checker running, I think.
I hope this isn't for what I think it might be for...
Code: Select all
while(iPCAbilCON > 10) //make PC's CON = 10 to nullify any CON hp bonuses. Way to just Set Ability = 10?
{
int CONAdj = iPCAbilCON - 10;
if(CONAdj > 9) CONAdj = 9; //EffectAbilityDecrease() must be a positive number less than 10
effect eCONDrain = EffectAbilityDecrease(ABILITY_CONSTITUTION, 1);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eCONDrain, oCaster, TurnsToSeconds(iDuration)); //hope multiple drops don't explode
}
- Final Shinryuu
- Sage
- Posts: 2060
- Joined: Thu Jun 24, 2004 3:20 am
- Location: http://hades.mercuric.net/
Only way to change the race is to manually edit the bic, or with a program such as Autobic, LETO, ect. LETO is a two second job to do it if you have servervault access.
Your best bet with setting the CON to 10 is to use drain like that. Don't actually change the base value, or the Avlis ELC checker will boot them as an invalid character.
Your best bet with setting the CON to 10 is to use drain like that. Don't actually change the base value, or the Avlis ELC checker will boot them as an invalid character.

- Nighthawk4
- Assist DM
- Posts: 25898
- Joined: Fri Feb 07, 2003 8:32 pm
- Timezone: GMT
- DM Avatar: DruEl
- Location: The Home of the Bard of Avon
- Contact:
Alphonse wrote:This problem happened the other week when an overenthusiastic DM used setSTR on PCsPreston wrote:Altering a PC's race or base stats might make it so they can't log in with the ECL checker running, I think.

It was an accident

Life is never as bad as you think it is, although that doesn't help at the time.
Orleron wrote:I think it's a fun idea if you can idiot-proof it. Problem is God always builds a better idiot.