Jump to content

2 calls please...


Recommended Posts

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!
Link to comment
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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...