MantisBT - Zandronum
View Issue Details
0000758Zandronum[All Projects] Bugpublic2012-04-08 21:372012-04-08 21:57
DevilHunter 
 
hightrivialalways
closedno change required 
MicrosoftWindowsXP/Vista/7
98d 
 
0000758: Getting Doubles in STDom3beta1.pk3 gives you 1 Health
When you get Doubles in the Diabolic Dice level, you are suppose to get a SoulSphere. Instead, you are given 1 hp. We tried this out online in the 98e Testing Marathon.

Every-time it happened, Step thinks the Script is Broken.
1. Get STdom3beta1.zip from Sickedwick.net/wads

2. Start up Domination, skip to map04

3. Go into the Dice room, roll the Dice. You should run on Doubles sooner or Later.

4. Look at the HUD, you gain only 1 hp

5. ???
If you need me to make a Demo, I will do that, but not sure if it will show in the Demo.
No tags attached.
Issue History
2012-04-08 21:37DevilHunterNew Issue
2012-04-08 21:46DevilHunterNote Added: 0003184
2012-04-08 21:57DuskNote Added: 0003185
2012-04-08 21:57DuskStatusnew => closed
2012-04-08 21:57DuskResolutionopen => no change required
2012-06-09 13:22Torr SamahoCategoryGeneral => Bug

Notes
(0003184)
DevilHunter   
2012-04-08 21:46   
Just now testing this, it does happen offline as well.
(0003185)
Dusk   
2012-04-08 21:57   
Based on Edward-san's findings:

STDom calls GiveInventory ("SoulSphere", 1); to give the soulsphere to the player.

From'http://zdoom.org/wiki/GiveInventory [^]'
> This function will give the number of items specified to the activator. In the case of ammo, health and armor it will give the total number (so GiveInventory("Shell", 5) and GiveInventory("ShellBox", 5) will both give the player five shells.)

Soulsphere derives directly from Health so it is subject to this behavior. Therefore, giving ("SoulSphere", 1); actually only gives 1 health. ("Health", 100); would be correct.

Closed.