vht/vhtzs/player.zsc
Alison Watson 6928c2f898 + add aesthetic fixes for small hud font to make it consistent with the big hud font
+ add option to add a projectile to timon's axe (splits mana use)
+ add option to speed up sapphire wand
+ make pickup flashes bright
+ make sapphire wand's trail look more like the explosion
+ add option to display a detailed quest log on the automap
+ make ettins and centaurs not play a hit sound when missing
+ add an option to set the behaviour of centaurs to make them more vulnerable
+ add an option to make players shatter frozen enemies on touch
+ add an option to change the sapphire wand's damage function
+ make sapphire wand's projectile appear at the proper height
+ add an option to change the frost spell's damage function
+ add an option to make bloodscourge's projectiles foil invulnerability
2022-07-10 07:24:30 -06:00

39 lines
904 B
Plaintext

mixin class VhtPlayer {
bool m_touchShatter;
override bool canCollideWith(Actor other, bool passive) {
if(m_touchShatter && other.bIceCorpse && other.distance3D(other) <= other.radius + 4) {
other.damageMobj(self, self, 1, 'Melee');
}
return true;
}
override void tick() {
m_touchShatter = vht_player_touchshatter;
super.tick();
}
}
class VhtFighterPlayer : FighterPlayer {
mixin VhtPlayer;
default {
Player.WeaponSlot 1, "FWeapFist";
Player.WeaponSlot 2, "VhtFWeapAxe";
Player.WeaponSlot 3, "FWeapHammer";
Player.WeaponSlot 4, "FWeapQuietus";
}
}
class VhtClericPlayer : ClericPlayer {
mixin VhtPlayer;
}
class VhtMagePlayer : MagePlayer {
mixin VhtPlayer;
default {
Player.StartItem "VhtMWeapWand";
Player.WeaponSlot 1, "VhtMWeapWand";
Player.WeaponSlot 2, "MWeapFrost";
Player.WeaponSlot 3, "MWeapLightning";
Player.WeaponSlot 4, "MWeapBloodscourge";
}
}