From d89919c30b306094a74836cbc693af96d3514cc9 Mon Sep 17 00:00:00 2001 From: Nagath Date: Tue, 27 Jan 2015 14:20:33 +0100 Subject: [PATCH 1/2] Little fix for reflection animations by MorbusM59 Reflections and evil twins were only correctly using bow animations when the owner was using a long bow. This allows the copies to use the correct animation for all bows. --- kod/object/active/holder/nomoveon/battler/monster/eviltwin.kod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kod/object/active/holder/nomoveon/battler/monster/eviltwin.kod b/kod/object/active/holder/nomoveon/battler/monster/eviltwin.kod index 336bd93011..36d0c35873 100644 --- a/kod/object/active/holder/nomoveon/battler/monster/eviltwin.kod +++ b/kod/object/active/holder/nomoveon/battler/monster/eviltwin.kod @@ -489,7 +489,7 @@ messages: if Weapon <> $ %IsClass(Weapon,&Weapon) { - if IsClass(Weapon,&Longbow) + if IsClass(Weapon,&Bow) { piAnimation = PANM_BOW_FIRE; From fb087893e4706b99912bc8b5f4123140a59b8e9a Mon Sep 17 00:00:00 2001 From: Nagath Date: Tue, 27 Jan 2015 14:22:15 +0100 Subject: [PATCH 2/2] Little fix for reflection animations by MorbusM59 Reflections and evil twins were only correctly using bow animations when the owner was using a long bow. This allows the copies to use the correct animation for all bows. --- kod/object/active/holder/nomoveon/battler/monster/reflectn.kod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kod/object/active/holder/nomoveon/battler/monster/reflectn.kod b/kod/object/active/holder/nomoveon/battler/monster/reflectn.kod index 4461f6e521..3883afb87e 100644 --- a/kod/object/active/holder/nomoveon/battler/monster/reflectn.kod +++ b/kod/object/active/holder/nomoveon/battler/monster/reflectn.kod @@ -517,7 +517,7 @@ messages: if Weapon <> $ { - if IsClass(Weapon,&Longbow) + if IsClass(Weapon,&Bow) { piAnimation = PANM_BOW_FIRE;