View Single Post
  #3  
Old 05-02-2008, 06:25 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

There seems to be an issue with #showstats. I did make changes to the bot calcs and revealed this:

Unequipped Necromancer bot - Level 65
Code:
Necromancer says 'Base stats:'
Necromancer says 'HP: 1187 Mana: 2145 AC: 780 STR: 80 STA: 90 DEX: 100 AGI: 100 WIS: 103 INT: 157 CHA: 90'
Necromancer says 'Resists-- Magic: 50, Fire: 45, Cold: 45, Poison: 35, Disease: 30.'
Necromancer says 'I'm updated.'
Necromancer says 'HP: 1187 Mana: 2145 AC: 780 STR: 80 STA: 90 DEX: 100 AGI: 100 WIS: 103 INT: 157 CHA: 90'
Necromancer says 'Resists-- Magic: 50, Fire: 45, Cold: 45, Poison: 35, Disease: 30.'
You say, '#showstats'
Name: Necromancer000 Bot
  Level: 65  MaxHP: 1187  CurHP: 1187  AC: 780  Class: 11
  MaxMana: 2145  CurMana: 2145  ATK: 10  Size: 6.0
  STR: 80  STA: 90  DEX: 0  AGI: 0  INT: 157  WIS: 103  CHA: 90
  MR: 50  PR: 35  FR: 45  CR: 45  DR: 30
  Race: 3  BaseRace: 3  Texture: 0  HelmTexture: 0  Gender: 1  BaseGender: 1
  EntityID: 291  PetID: 292  OwnerID: 0  AIControlled: 1
  NPCID: 2700013  SpawnGroupID: 0 LootTable: 0  FactionID: 0  SpellsID: 515 MerchantID: 0
  Accuracy: 0
  AIControlled: AggroRange: 70  AssistRange: 70
Stats look the same unequipped, so I gave the bot a Warlock's Crown AC: 6 STA: +7 INT: +4 HP: +20 MANA: +10
Code:
Necromancer says 'I'm updating...'
Necromancer says 'Base stats:'
Necromancer says 'HP: 1187 Mana: 2145 AC: 780 STR: 80 STA: 90 DEX: 100 AGI: 100 WIS: 103 INT: 157 CHA: 90'
Necromancer says 'Resists-- Magic: 50, Fire: 45, Cold: 45, Poison: 35, Disease: 30.'
Necromancer says 'I'm updated.'
Necromancer says 'HP: 1228 Mana: 2220 AC: 786 STR: 80 STA: 97 DEX: 100 AGI: 100 WIS: 103 INT: 161 CHA: 90'
Necromancer says 'Resists-- Magic: 55, Fire: 49, Cold: 45, Poison: 35, Disease: 30.'
Necromancer says 'Thank you for the Warlock's Crown , Congdar.'
You say, '#showstats'
Name: Necromancer000 Bot
  Level: 65  MaxHP: 1208  CurHP: 1208  AC: 792  Class: 11
  MaxMana: 2285  CurMana: 2285  ATK: 10  Size: 6.0
  STR: 80  STA: 104  DEX: 100  AGI: 100  INT: 165  WIS: 103  CHA: 90
  MR: 60  PR: 35  FR: 53  CR: 45  DR: 30
  Race: 3  BaseRace: 3  Texture: 0  HelmTexture: 0  Gender: 1  BaseGender: 1
  EntityID: 291  PetID: 292  OwnerID: 0  AIControlled: 1
  NPCID: 2700013  SpawnGroupID: 0 LootTable: 0  FactionID: 0  SpellsID: 515 MerchantID: 0
  Accuracy: 0
  AIControlled: AggroRange: 70  AssistRange: 70
Differences:
My HP calcs updated the base hp to 1208 with the +7STA and then added in the 20HP for 1228
#showstats only updated the +7STA to 1208 and didn't add in the 20HP

My INT calcs added in the +4
#showstats added in +8 INT

My STA calcs added in the +7
#showstats added in +14 STA

My Mana calcs updated the base mana to 2210 with the +4INT and added in the 10MANA for 2220
#showstats came up with 2285 by doubling the INT from 4 to 8 to get 2275 and then adding in the 10MANA

My AC calc added 6
#showstats AC calc added 12

So should I change the bot code to double everything but HP and ignore HP bonuses? Also, try #showstats on yourself.

#bot update will update your bot stats with my calcs. #showstats will update your bot stats with different calcs. Use the one you like best