diedhddl Posted January 28 Share Posted January 28 hello. Please understand that I am not a native English speaker and am using a translation program. There may be some things out of context. I like the PhantasmalForce spell. PhantasmalForce spells determine the damage type by the last damage type dealt. However, most players are limited to dealing melee or fire or ice damage, so many of the damage types in this spell are unlikely to apply in practice. Therefore, if the damage type of the PhantasmalForce spell were randomized, a wider variety of damage types would be applied to the target. I'm not a professional programmer, but I did some research and it looks like this could be fixed. However, I'm having a hard time getting that damage type to be randomized because there are no other similar spells. The closest spell I could find was Wild Magic, but it had a very complicated configuration. I was wondering if you could help me with this? data "StatsFunctors" "IF(HasAttackDamageDoneForType(DamageType.Slashing)):ApplyStatus(PHANTASMAL_FORCE_SLASHING,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Piercing)):ApplyStatus(PHANTASMAL_FORCE_PIERCING,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Bludgeoning)):ApplyStatus(PHANTASMAL_FORCE_BLUDGEONING,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Acid)):ApplyStatus(PHANTASMAL_FORCE_ACID,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Thunder)):ApplyStatus(PHANTASMAL_FORCE_THUNDER,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Necrotic)):ApplyStatus(PHANTASMAL_FORCE_NECROTIC,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Fire)):ApplyStatus(PHANTASMAL_FORCE_FIRE,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Lightning)):ApplyStatus(PHANTASMAL_FORCE_LIGHTNING,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Cold)):ApplyStatus(PHANTASMAL_FORCE_COLD,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Psychic)):ApplyStatus(PHANTASMAL_FORCE_PSYCHIC,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Poison)):ApplyStatus(PHANTASMAL_FORCE_POISON,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Radiant)):ApplyStatus(PHANTASMAL_FORCE_RADIANT,100,Target.PHANTASMAL_FORCE.Duration);IF(HasAttackDamageDoneForType(DamageType.Force)):ApplyStatus(PHANTASMAL_FORCE_FORCE,100,Target.PHANTASMAL_FORCE.Duration)" Link to comment Share on other sites More sharing options...
Recommended Posts