Fisher
Member
I want to increase all creature damage by 10%
I tried this in BaseCreature:
And got these Errors:
I tried this in BaseCreature:
Code:
public void SetDamage(int min, int max)
{
m_DamageMin = min;
m_DamageMax = max + (max * 0.10);
}
And got these Errors:
Code:
+ custom/BaseCreature.cs:
CS0266: Line 3925: Cannot implicitly convert type 'double' to 'int'. An expl
icit conversion exists (are you missing a cast?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.