Community Adventure Project
Welcome Adventurer, make yerself at home.

Join the forum, it's quick and easy

Community Adventure Project
Welcome Adventurer, make yerself at home.
Community Adventure Project
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Fix or Improve??
Tome of stats EmptySat Dec 20, 2014 10:12 pm by Drgnwlkr

» Is there...
Tome of stats EmptyFri Nov 14, 2014 10:39 am by Tavion

» Resetting Journal
Tome of stats EmptyMon Oct 21, 2013 11:38 pm by Subnormal

» Golem Builder By Borojb
Tome of stats EmptySun Sep 01, 2013 1:32 pm by Tavion

» Hack K & L
Tome of stats EmptyFri Jul 19, 2013 11:43 pm by Tavion

» Help with the haks
Tome of stats EmptyFri May 31, 2013 7:34 pm by Wyrdwolf

» Character Retirement not working
Tome of stats EmptyFri May 03, 2013 3:43 am by MannyJabrielle

» Yankeeyiddos.com
Tome of stats EmptySat Apr 06, 2013 1:58 am by Drgnwlkr

» The Grimm is back!
Tome of stats EmptySat Mar 09, 2013 1:41 am by borojb


Tome of stats

3 posters

Go down

Tome of stats Empty Tome of stats

Post  Tavion Sat Jan 05, 2013 7:52 pm

I was wondering, is there a way to use the same tome more than once's in the module?

itemproperty eEffect = ItemPropertyAbilityBonus(IP_CONST_ABILITY_CON,1);

ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_DISPEL), oPC);
FloatingTextStringOnCreature("Your Constitution has been raised by +1 ", oPC);
AssignCommand(oPC,PlaySound("sim_blinddeaf"));
AddItemPropertyToPCHide(DURATION_TYPE_PERMANENT,eEffect,oPC,0.0f,FALSE);
RestoreHideOnPC( oPC);

}

I have tryed to change the script by altering it by putting:

itemproperty eEffect = ItemPropertyAbilityBonus(IP_CONST_ABILITY_CON,2);

ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_DISPEL), oPC);
FloatingTextStringOnCreature("Your Constitution has been raised by +2 ", oPC);
AssignCommand(oPC,PlaySound("sim_blinddeaf"));
AddItemPropertyToPCHide(DURATION_TYPE_PERMANENT,eEffect,oPC,0.0f,FALSE);
RestoreHideOnPC( oPC);

}

I am not sure if the "Database" has to be changed to let it work.

please reply soon as possable

L0BSTER x

Tavion
CAP Rook
CAP Rook

Posts : 25
Join date : 2012-01-15

Back to top Go down

Tome of stats Empty Re: Tome of stats

Post  borojb Sun Jan 06, 2013 3:25 am

Well......

when you do:

Iitemproperty eEffect = ItemPropertyAbilityBonus(IP_CONST_ABILITY_CON,2);

ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_DISPEL), oPC);
FloatingTextStringOnCreature("Your Constitution has been raised by +2 ", oPC);
AssignCommand(oPC,PlaySound("sim_blinddeaf"));
AddItemPropertyToPCHide(DURATION_TYPE_PERMANENT,eEffect,oPC,0.0f,FALSE);
RestoreHideOnPC( oPC);

All that does is make the bonus for reading the book +2, instead of +1.

You would need to increment the constitution item property on the PC hide, so
I think at that point you have to store the current bonus as a variable on the PC
hide, retrieve the bonus, increment it by 1, resave the variable, then remove the
current item property and replace it with the new one... Mad

LoW can certainly explain it better, but its not necessarily an "easy" fix.

Granted, I might be snookered currently and missing something really simple. Cool drunken

borojb
CAP Squire
CAP Squire

Posts : 75
Join date : 2011-01-08
Age : 53
Location : Downstate Illinois

Back to top Go down

Tome of stats Empty Re: Tome of stats

Post  Tavion Sun Jan 06, 2013 2:06 pm

It's no problem, i just thought i was missing a word or letter out to let me use the

tomes more than onces on the same stats Smile

Thanks for the reply Borojb Smile

Tavion
CAP Rook
CAP Rook

Posts : 25
Join date : 2012-01-15

Back to top Go down

Tome of stats Empty Re: Tome of stats

Post  lord_of_worms Thu Jan 10, 2013 6:21 am

I am not *completely* sure if this is what your asking, but are you asking if you can use the *same* tome more than once to raise it by +1 each time.,..then that would be as simple as just editing the item to not be a 1 use item, you could have it with charges or mayby a 3 times a day..

the only reason here where I think you would start editing scripts would be if you wanted to set like conditions for the charges, like you can read the book up to 3 times but only in a church interior or some other not so accessible and easy spot...otherwise you could just spam stats with these items Very Happy
lord_of_worms
lord_of_worms
CAP Knight
CAP Knight

Posts : 321
Join date : 2010-01-12
Age : 50
Location : Massachussetts

Back to top Go down

Tome of stats Empty Re: Tome of stats

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum