public void Fill(INativeManager nativeManager) { nativeManager.AddRoleModelNative( "mistspawn", 24, 2, 12, 20, 2, "slash", new string[0]); }
private static void AddNatives(INativeManager nativeManager) { nativeManager.AddTileNative("test_wall", new string[0], false, 100, true, 1, true, null, null); nativeManager.AddTileNative("test_tile_h1", new string[0], false, 9, false, 1, true, null, null); nativeManager.AddTileNative("test_tile_h2", new string[0], false, 18, false, 1, true, null, null); nativeManager.AddTileNative("test_tile_h3", new string[0], false, 27, false, 1, true, null, null); nativeManager.AddTileNative("test_tile_h4", new string[0], false, 36, false, 1, true, null, null); nativeManager.AddTileNative("test_tile_h5", new string[0], false, -9, false, 1, true, null, null); nativeManager.AddTileNative("test_tile_h6", new string[0], false, -18, false, 1, true, null, null); nativeManager.AddTileNative("test_tile_h7", new string[0], false, -27, false, 1, true, null, null); nativeManager.AddTileNative("test_tile_h8", new string[0], false, -36, false, 1, true, null, null); nativeManager.AddTileNative("test_tile_effect", new string[0], false, 0, false, 10, true, DoDamage, DoDamageOnStep); nativeManager.AddTileNative("test_tile", new string[0], false, 0, false, 1, true, null, null); nativeManager.AddActorNative("test_actor", "test_actor", "test_actor", new string[] { "test_actor_tag" }, 0, new TagSynergy[] { new TagSynergy("test_skill_tag", 0.5f) }); nativeManager.AddEffectNative("test_effect", "test_effect", new string[0], 0, null, 10, DoDamageTempTile, DoDamageTempTileDeath); nativeManager.AddDecorationNative("test_decoration", "test_decoration", new string[0], new TagSynergy[] { }, 100, 0, 10, DoSelfDamage, DoSelfDamage); nativeManager.AddSkillNative("test_actor_attack", "test_actor_attack", "test_actor_attack", new string[0], 1, 1, 0, 75, new Targets() { NotAllies = true, Allies = true, Bearable = true, Unbearable = true, Self = true }, false, DoDamageAttack); nativeManager.AddSkillNative("test_actor_attack_range", "test_actor_attack_range", "test_actor_attack_range", new string[0], 4, 1, 0, 12.5f, new Targets() { NotAllies = true, Allies = true, Bearable = true, Unbearable = true, Self = true }, false, DoDamageAttack); nativeManager.AddSkillNative("test_actor_skill", "test_actor_skill", "test_actor_skill", new string[] { "test_skill_tag" }, 1, 1, 0, 60, new Targets() { NotAllies = true, Allies = true, Bearable = true, Unbearable = true, Self = true }, false, DoDamageSkill); nativeManager.AddSkillNative("test_actor_skill_range", "test_actor_skill_range", "test_actor_skill_range", new string[0], 4, 2, 2, 10, new Targets() { NotAllies = true, Allies = true, Bearable = true, Unbearable = true, Self = true }, false, DoDamageSkill); nativeManager.AddBuffNative("test_buff_default", new string[] { "buff" }, false, 1, false, false, null, 1, null, AddStats, DamageSelfPurge); nativeManager.AddBuffNative("test_buff_duration", new string[] { "buff" }, false, 1, false, false, 1, 1, null, null, null); nativeManager.AddBuffNative("test_buff_eternal", new string[] { "item" }, true, 1, false, false, null, 1, null, AddMaxHealth, DamageSelfPurge); nativeManager.AddBuffNative("test_buff_multiple", new string[] { "buff" }, false, 4, false, false, null, 1, null, AddMaxHealth, null); nativeManager.AddBuffNative("test_buff_summarize", new string[] { "buff" }, false, 1, true, false, null, 1, null, AddMaxHealth, null); nativeManager.AddBuffNative("test_debuff", new string[] { "debuff" }, false, 1, false, false, null, 1, DamageSelf, null, DamageSelfPurge); nativeManager.AddRoleModelNative("test_roleModel", 10, 10, 10, 10, 4, "test_actor_attack", new string[] { "test_actor_skill" }); }