Jump to content
Sign in to follow this  
Archmagus Micael

2 calls please...

Recommended Posts

set_crime_level(number higher than the crime tolerance); will effectively hostile a town. Not sure if there's a real way to friendly a town, though.

 

change_spell_level is what you're looking for with regards to teaching spells.

Share this post


Link to post
Share on other sites

You can make a town friendy by setting its status to 1 when you are OUTSIDE of the town. Strange things might happen otherwise. If you want the people to suddenly like you again, you will have to cycle through all the creatures and make them friendly with a loop.

Share this post


Link to post
Share on other sites
Quote:
Originally written by Imban:
set_crime_level(number higher than the crime tolerance); will effectively hostile a town. Not sure if there's a real way to friendly a town, though.

change_spell_level is what you're looking for with regards to teaching spells.
Thanks for the SET_CRIME_LEVEL(any old number higher than crime level);

What do you have to type after CHANGE_SPELL_LEVEL?
What is it - (1,5,2) [pretending that is Priest spell five set to level 2]???

Please answer - Archmagi Micael

UNDEAD VALLEY IS NEARLY FINISHED!!!!!!! TESTING VERSION 4 SHOULD BE OUT IN A FEW MORE DAYS, AND THEN IF THE TESTERS GIVE A GREEN LIGHT - IT'LL BE SENT IN TO SPIDERWEB AND THE BoA CENTER!

Share this post


Link to post
Share on other sites

Do you not have a copy of the docs or something?

 

The call give_recipe(short which_recipe) will give a recipe.

 

The parameters on the call change_spell_level are: change_spell_level(short which_char,short mage_or_priest,short which_spell,short amt_to_change). Literally straight out of the Appendices, page 23: "Changes the [level] character which_char knows spell which_spell by amt_to_change (which can be negative). If mage_or_priest is 0, changes mage spell. If 1, changes priest spell." And basically the character's mage or priest spells skill has to be high enough to learn the spell in the first place.

 

Not that it's change spell level, not set spell level, meaning that it increments. If amt_to_change is 1, and if the character already knows the spell at level 3, then the character will know the spell at level 4 after this call. You can use get_spell_level to get around this.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×