Aller au contenu

Photo

Script setting Heroic values...


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Simon.Omega

Simon.Omega
  • Members
  • 70 messages
Hello all,

I have returned after about a year of no video games.

I pulled my old script out of my Dragon Armor Assist mod.
WARNING: It lets you wear Dragon Armor from the start of the game. With that much strength and gold it is not considered wise to use unless you are up for an unfair advantage.

Any way, I just realized it sets your Heroic for "Most money earned at once" to 15 gold. I don't like that. I will dig into the Tool-set again to fix this.

But dose anyone know if you can you interact with these played variables?
I know you can edit the save:
SAVEGAME_PLAYERCHAR -> SAVEGAME_CREATURE_STATS -> SAVE_GAME_HEROIC_PARTY_STATLIST ->
For the STRUCT object that has SAVEGAME_STATPROPERTY_INDEX == 24

But is there a GET and SET for the HEROIC list that I can feed Index 24 to?
If so I am just going to copy the old to a variable, apply the gold, then restore the old value in the variable.

I fear the Event for this Heroic might only be checked when a character receives money.

Thanks ahead of time while I get this setup again. :huh:

#2
TimelordDC

TimelordDC
  • Members
  • 923 messages
GetCreatureProperty(oHero, HERO_STAT_MOST_MONEY_EVER);

should give you the amount.

SetCreatureProperty(oHero, HERO_STAT_MOST_MONEY_EVER, fMoney);

can be used to set it to what it was before.


#3
Simon.Omega

Simon.Omega
  • Members
  • 70 messages
Thank you.

I had a fit with the tool kit. Then I realized Windows 7 snuck an update in on me and was waiting for reboot. Opps...



This will save me a lot time. ^_^