Author Topic: Mana Cost for Specials  (Read 3221 times)

0 Members and 1 Guest are viewing this topic.

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Mana Cost for Specials
« on: March 08, 2011, 06:44:07 AM »
0
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.
« Last Edit: March 08, 2011, 07:41:32 AM by Cerveza »
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: Mana Cost for Specials
« Reply #1 on: March 08, 2011, 07:56:22 AM »
0
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.
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: Mana Cost for Specials
« Reply #2 on: March 08, 2011, 08:02:44 AM »
0
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.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Scrripty

  • Guest
Re: Mana Cost for Specials
« Reply #3 on: March 08, 2011, 10:31:23 AM »
0
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.

Code: [Select]
   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 )

Tags: