Chaos damage attribute [complete]

Information on new updates to the shard as well as what's to come
Locked
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Chaos damage attribute [complete]

Post by Red Squirrel »

OSI has a new attribute called chaos damage, so lets say your weapon is 50% fire and 50% chaos, when you hit, 50% of the damage will be of a random type, so you might hit 50% cold and 50% fire, or 50% physical and 50% fire etc... 100% chaos on a wep would mean the entire damage is random, and so on. I've only seen this on quivers, but I'm implimenting it on weapons as well as monsters, to support future development. Could make some interesting artifacts or monsters as well.

I may have to modify all the artifact scripts on the shard to support this because of how damage has been coded into a function, which I've added a new parameter to.

Archived topic from AOV, old topic ID:618, old post ID:3594
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Chaos damage attribute [complete]

Post by Red Squirrel »

Got the attribute to work. Also quivers were not overriding weapon damages on weapons that already had a damage type set, such as lot of artifacts. I ahd to recode all those artifacts to set the damage type a different way (have no clue why it was not set that way from the begining) so now the override works properly.

In this picture I'm using the void and I set the quiver to chaos damage so it overrides the energy damage for chaos damage, which is damage of random type. This can also be applied to weapons, not just quivers.

Also notice that when I lore the hiryu it now shows chaos, I added that as well, since mobs can do chaos damage if it is set. Some creatures in the future may be set to do this type of damage.

Archived topic from AOV, old topic ID:618, old post ID:3603
Honk if you love Jesus, text if you want to meet Him!
User avatar
Gaiava Arkkaza
Posts: 834
Joined: Tue Dec 12, 2006 10:19 pm

Chaos damage attribute [complete]

Post by Gaiava Arkkaza »

Great job Sage Squirrel, like always.

Archived topic from AOV, old topic ID:618, old post ID:3604
Brunus
User avatar
Death
Posts: 7919
Joined: Thu Sep 30, 2004 10:12 pm

Chaos damage attribute [complete]

Post by Death »

Red Squirrel wrote:Got the attribute to work. Also quivers were not overriding weapon damages on weapons that already had a damage type set, such as lot of artifacts. I ahd to recode all those artifacts to set the damage type a different way (have no clue why it was not set that way from the begining) so now the override works properly.

In this picture I'm using the void and I set the quiver to chaos damage so it overrides the energy damage for chaos damage, which is damage of random type. This can also be applied to weapons, not just quivers.

Also notice that when I lore the hiryu it now shows chaos, I added that as well, since mobs can do chaos damage if it is set. Some creatures in the future may be set to do this type of damage.
Off the top of my head, hellsteeds have chaos breath but that would fall under the breath part in the code and not the actual damage. It's a great addition nonetheless as I'm sure there's a couple of monsters that would do nicely with chaos damage.

Archived topic from AOV, old topic ID:618, old post ID:3631
Lymus
Posts: 737
Joined: Wed Dec 13, 2006 2:21 pm

Chaos damage attribute [complete]

Post by Lymus »

Bartok wrote:
Red Squirrel wrote:Got the attribute to work. Also quivers were not overriding weapon damages on weapons that already had a damage type set, such as lot of artifacts. I ahd to recode all those artifacts to set the damage type a different way (have no clue why it was not set that way from the begining) so now the override works properly.

In this picture I'm using the void and I set the quiver to chaos damage so it overrides the energy damage for chaos damage, which is damage of random type. This can also be applied to weapons, not just quivers.

Also notice that when I lore the hiryu it now shows chaos, I added that as well, since mobs can do chaos damage if it is set. Some creatures in the future may be set to do this type of damage.
Off the top of my head, hellsteeds have chaos breath but that would fall under the breath part in the code and not the actual damage. It's a great addition nonetheless as I'm sure there's a couple of monsters that would do nicely with chaos damage.
Maybe Chaos Steeds? :D

Archived topic from AOV, old topic ID:618, old post ID:4511
If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime.
Locked