User Tag List

Results 1 to 4 of 4

Thread: Setting Damage Divisor on an Item to Zero Makes You Invincible

  1. #1
    Keese ywkls's Avatar
    Join Date
    Feb 2016
    Posts
    62
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    245
    Level
    5
    vBActivity - Bars
    Lv. Percent
    77.56%
    Daily Activity
    0%
    Weekly Activity
    3.94%
    Monthly Activity
    4.41%

    Setting Damage Divisor on an Item to Zero Makes You Invincible

    On the advice of ZoriaRPG, I'm posting this.

    Something I stumbled across accidentally a while back.
    If you set an item's damage divisor to zero, you will take no damage from enemies or spikes.
    Setting it to one results in normal damage.

    It's been a while since I tested this, but I believe my conclusions are correct.

  2. #2
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    34
    Posts
    3,340
    Mentioned
    164 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,034
    Level
    24
    vBActivity - Bars
    Lv. Percent
    3.44%
    Daily Activity
    0%
    Weekly Activity
    19.69%
    Monthly Activity
    11.76%
    It's a little odd, I suppose, but that's how it's intended to work.
    [téknolŕiz]

    ffcscript.zh 1.1.1 - Updated 2014-08-19
    ghost.zh 2.8.2 - Updated 2017-09-10
    tango.zh 1.3.0 - Updated 2017-09-10

  3. #3
    Keese ywkls's Avatar
    Join Date
    Feb 2016
    Posts
    62
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    245
    Level
    5
    vBActivity - Bars
    Lv. Percent
    77.56%
    Daily Activity
    0%
    Weekly Activity
    3.94%
    Monthly Activity
    4.41%
    Quote Originally Posted by Saffith View Post
    It's a little odd, I suppose, but that's how it's intended to work.
    That's what I thought too, but he insisted it was a bug and I should report it.

  4. #4
    ZC Contirbutor ZC Developer ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,030
    Mentioned
    95 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    3,586
    Level
    19
    vBActivity - Bars
    Lv. Percent
    17.74%
    Daily Activity
    0%
    Weekly Activity
    51.18%
    Monthly Activity
    15.43%
    Quote Originally Posted by ywkls View Post
    That's what I thought too, but he insisted it was a bug and I should report it.
    I didn't insist that it was a bug. I said that I wasn't sure if it was intentional, or if it was an error due to div by 0 returning some nonsensical value, if it wasn't sanity bounded. I did not remember if it was there as a feature, or not.


    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social