ScriptUO
Ultima Online Fan Board => UO Reference Information => Topic started by: Cerveza on March 08, 2011, 06:44:07 AM
-
Special move mana cost can be decreased by having multiples of certain skills. With 200 to 299 combined skill points, the cost will decrease by 5 mana. Having 300 or more it will decrease by 10 mana. The included skills are:
* Swordsmanship
* Mace Fighting
* Fencing
* Archery
* Parrying
* Lumberjacking
* Stealth
* Poisoning
* Bushido
* Ninjitsu
* Throwing
Note - The Human's "Jack of All Trades" racial ability previously granted them at least 20 points in all these disciplines (meaning they effectively had at least 200 points regardless of how their real skills are distributed), but this was removed with Publish 64 in February 2010.
-
Hmm, something else that might go great here cerveza is the timer that doing another special will cost double mana, I think it is 2.5 seconds, but I can't remember.
-
I had that in the first post as a request. Any info we can find to add it I'll edit the first post to reflect.
-
Special timer is 3 seconds by stratics. Here's the mana cost sub I have in the newest version of the PVM Dexer. Pretty slick actually. I wrote this in to existing code so it's not as clean as it should be but hey, it works. :) I wanted to put this into an actual sub that read it as you went, so it would update in real time for say as you were training skills and such. But for what I'm doing it's just not possible. Too slow. For a skill trainer tho, this would be a perfect sub to update your specials as as you're training.
chooseSkill swor
set %swords #skill
chooseSkill mace
set %mace #skill
chooseSkill fenc
set %fencing #skill
chooseSkill arch
set %archery #skill
chooseSKill parr
set %parry #skill
chooseSkill lumb
set %lumberjack #skill
chooseSkill stlt
set %stealth #skill
chooseSkill pois
set %poison #skill
chooseSkill bush
set %bushido #skill
chooseSkill ninj
set %ninja #skill
set %minusAmount 0
set %totalSkillPoints %swords + %mace + %fencing + %archery + %parry + %lumberjack + %stealth + %poison + %bushido + %ninja
if %totalSkillPoints > 1999 && < 3000
set %minusAmount 5
if %totalSkillPoints > 2999
set %minusAmount 10
set %mana1 15
set %mana2 20
set %mana3 25
set %mana4 30
for %skillAmountLoop 1 4
set %mana . %skillAmountLoop %mana . %skillAmountLoop - %minusAmount
set %mana_required_0 %mana1 - ( ( %mana1 * %user_lmc ) / 100 )
set %mana_required_1 %mana2 - ( ( %mana2 * %user_lmc ) / 100 )
set %mana_required_2 %mana3 - ( ( %mana3 * %user_lmc ) / 100 )
set %mana_required_3 %mana4 - ( ( %mana4 * %user_lmc ) / 100 )