Bolbum's staff channels arcane instead of physical

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Grey
Loremaster
Posts: 3517
Joined: Thu Sep 23, 2010 10:18 pm
Location: London, England
Contact:

Bolbum's staff channels arcane instead of physical

#1 Post by Grey »

As per title. Was reported by someone else in the ongoing (and highly interesting) alchemist thread, but I figured it was worth pointing out separately.
http://www.gamesofgrey.com - My own T-Engine games!
Roguelike Radio - A podcast about roguelikes

Hedrachi
Uruivellas
Posts: 606
Joined: Tue May 11, 2010 8:58 pm
Location: Ore uh gun, USA

Re: Bolbum's staff channels arcane instead of physical

#2 Post by Hedrachi »

Quoth the staff-combat.lua file from SVN:

Code: Select all

		local damtype = combat.damtype
		if     damtype == DamageType.FIRE then      explosion = "flame"               particle = "bolt_fire"      trail = "firetrail"
		elseif damtype == DamageType.COLD then      explosion = "freeze"              particle = "ice_shards"     trail = "icetrail"
		elseif damtype == DamageType.ACID then      explosion = "acid"                particle = "bolt_acid"      trail = "acidtrail"
		elseif damtype == DamageType.LIGHTNING then explosion = "lightning_explosion" particle = "bolt_lightning" trail = "lightningtrail"
		elseif damtype == DamageType.LIGHT then     explosion = "light"               particle = "bolt_light"     trail = "lighttrail"
		elseif damtype == DamageType.DARKNESS then  explosion = "dark"                particle = "bolt_dark"      trail = "darktrail"
		elseif damtype == DamageType.NATURE then    explosion = "slime"               particle = "bolt_slime"     trail = "slimetrail"
		elseif damtype == DamageType.BLIGHT then    explosion = "slime"               particle = "bolt_slime"     trail = "slimetrail"
		else                                        explosion = "manathrust"          particle = "bolt_arcane"    trail = "arcanetrail" damtype = DamageType.ARCANE
		end
No physical defined in the select/case... err, (if/elseif)*a billion, therefore it defaults to arcane. Might try to figure out how to put in arrow explosion for explosion, maybe use the earthen missiles particle, but dunno what trail is for since I've never seen a trail of any sort with channel staff.
Having satellite internet is a lot like relying on the processes described in those RFC's for your internet. Except, instead of needing to worry about statues interrupting your connection, this time you worry about the weather. I have satellite internet. Fun, no?

kazak 2
Higher
Posts: 71
Joined: Sat Mar 05, 2011 6:43 pm

Re: Bolbum's staff channels arcane instead of physical

#3 Post by kazak 2 »

Heh, I was just coming over here to post the same thing. I'm assuming this also makes the staff's physical damage modifier kinda worthless for channel staff.

Hedrachi
Uruivellas
Posts: 606
Joined: Tue May 11, 2010 8:58 pm
Location: Ore uh gun, USA

Re: Bolbum's staff channels arcane instead of physical

#4 Post by Hedrachi »

Wouldn't be too hard to glom together an elseif statement for physical in your game, though it would disable your online profile (bad game error, yay!)

Code: Select all

		elseif damtype == DamageType.PHYSICAL then    explosion = "dark"               particle = "stone_shards"     trail = "earthtrail"
Keep in mind I've no idea what valid explosions are and am using a valid one that looks close to what a physical explosion should be. Someone more talented could find a better explosion.
Having satellite internet is a lot like relying on the processes described in those RFC's for your internet. Except, instead of needing to worry about statues interrupting your connection, this time you worry about the weather. I have satellite internet. Fun, no?

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Bolbum's staff channels arcane instead of physical

#5 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply